From 91d56bf43fb12ad1de8918e64da6d8653fcad2c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Apr 2019 01:39:10 +0200 Subject: [PATCH] (PS3) Buildfix --- cheevos-new/cheevos.c | 4 ++-- libretro-common/encodings/encoding_crc32.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cheevos-new/cheevos.c b/cheevos-new/cheevos.c index 64a0ded8be..fabeb4ae88 100644 --- a/cheevos-new/cheevos.c +++ b/cheevos-new/cheevos.c @@ -64,8 +64,8 @@ #include "../network/net_http_special.h" #include "../tasks/tasks_internal.h" -#include -#include +#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 diff --git a/libretro-common/encodings/encoding_crc32.c b/libretro-common/encodings/encoding_crc32.c index 38b3de2545..a0d1e580ab 100644 --- a/libretro-common/encodings/encoding_crc32.c +++ b/libretro-common/encodings/encoding_crc32.c @@ -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; }