From: aliaspider Date: Sat, 3 Oct 2015 03:59:26 +0000 (+0100) Subject: (CTR/3DS) build fix. X-Git-Tag: r24l~867 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d47665c61a78fd8d48cc53e1e887251191fa8b;p=pcsx_rearmed.git (CTR/3DS) build fix. --- diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 068ca1e7..e9e2b5cd 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -55,7 +55,7 @@ static void __clear_cache(void *start, void *end) { } #elif defined(_3DS) #include "3ds_utils.h" -#define __clear_cache(start,end) svcFlushProcessDataCache(0xFFFF8001, start, (end)-(start)) +#define __clear_cache(start,end) svcFlushProcessDataCache(0xFFFF8001, start, (u32)(end)-(u32)(start)) #endif #define MAXBLOCK 4096