]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpvsimpledecode.c
use *64.dll instead of *.dll on win64, this way we can include both 32bit and 64bit...
[xonotic/darkplaces.git] / dpvsimpledecode.c
index 19e3d1cbefba903bee8ffb6c46642a0c7ccebb14..9f4154972878c3d261a29ee36b16517394f911cb 100644 (file)
@@ -113,7 +113,7 @@ int hz_bitstream_read_blocks_read(hz_bitstream_readblocks_t *blocks, hz_bitstrea
                else
                        b->size = s;
                s -= b->size;
-               if (FS_Read(stream->file, b->data, b->size) != b->size)
+               if (FS_Read(stream->file, b->data, b->size) != (fs_offset_t)b->size)
                {
                        stream->endoffile = 1;
                        break;