]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/kxld/WKdmCompress.c
xnu-2050.7.9.tar.gz
[apple/xnu.git] / libkern / kxld / WKdmCompress.c
index db2c5c05b291f38b1177e2071efdfc3c11e10aae..5109015c9393c98c5871abf846633da3045b64b6 100644 (file)
@@ -150,7 +150,7 @@ WKdm_compress (WK_word* src_buf,
       */
      dict_location =
        (WK_word *)
-       (((char*) dictionary) + HASH_TO_DICT_BYTE_OFFSET(input_word));
+       ((void*) (((char*) dictionary) + HASH_TO_DICT_BYTE_OFFSET(input_word)));
 
      dict_word = *dict_location;
 
@@ -232,7 +232,7 @@ WKdm_compress (WK_word* src_buf,
 #endif
 
   boundary_tmp = WK_pack_2bits(tempTagsArray,
-                              (WK_word *) next_tag,
+                              (WK_word *) ((void *) next_tag),
                               dest_buf + HEADER_SIZE_IN_WORDS);
 
 #ifdef WK_DEBUG