mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(libretro-common/utils) Buildfix
This commit is contained in:
parent
84d8d97ea5
commit
3cbc03b675
@ -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) $<
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user