(libretro-common/utils) Buildfix

This commit is contained in:
twinaphex 2016-09-21 12:35:38 +02:00
parent 84d8d97ea5
commit 3cbc03b675
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ md5$(DYLIB): md5.o
sha1$(DYLIB): sha1.o
crc32$(DYLIB): crc32.o
crc32$(DYLIB): crc32.o ../encodings/encoding_crc32.o
%.o: %.S
$(CC) -c -o $@ $(asflags) $(LDFLAGS) $(ASMFLAGS) $<

View File

@ -18,11 +18,11 @@ int main(int argc, const char* argv[])
if (file)
{
uLong crc = encoding_crc32(0L, Z_NULL, 0 );
uint32_t crc = encoding_crc32(0L, NULL, 0 );
for (;;)
{
Bytef buffer[16384];
uint8_t buffer[16384];
int numread = fread((void*)buffer, 1, sizeof(buffer), file);