(PS3) Buildfix

This commit is contained in:
twinaphex 2019-04-21 01:39:10 +02:00
parent b5ba2ddc7b
commit 91d56bf43f
2 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,8 @@
#include "../network/net_http_special.h"
#include "../tasks/tasks_internal.h"
#include <rcheevos.h>
#include <rurl.h>
#include "../deps/rcheevos/include/rcheevos.h"
#include "../deps/rcheevos/include/rurl.h"
/* Define this macro to prevent cheevos from being deactivated. */
#undef CHEEVOS_DONT_DEACTIVATE

View File

@ -123,7 +123,7 @@ uint32_t file_crc32(uint32_t crc, const char *path)
if (nread < 0)
goto error;
crc = encoding_crc32(crc, buf, nread);
crc = encoding_crc32(crc, buf, (size_t)nread);
if (filestream_eof(file))
break;
}