Browse code

bb11750 Fix compile warning in special.c.

Steven Morgan authored on 2017/02/15 05:06:12
Showing 1 changed files
... ...
@@ -268,7 +268,7 @@ static int riff_read_chunk(fmap_t *map, off_t *offset, int big_endian, int rec_l
268 268
 	    return 0;
269 269
 	cur_offset += 4*2;
270 270
 
271
-	buffer = buf;
271
+	buffer = (char *)buf;
272 272
 	memcpy (&cache_buf, buffer + sizeof (cache_buf),
273 273
 			sizeof (cache_buf));
274 274
 	chunk_size = riff_endian_convert_32(cache_buf, big_endian);