From ba4a4b1915015f35d33c3107c69e77e94c483132 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 11 Apr 2009 15:28:12 +0000 Subject: [PATCH] Use u32 instead of unsigned long since that's the type of the data that is passed to armcp15_setSingleRegionAccess(). --- desmume/src/cp15.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/cp15.cpp b/desmume/src/cp15.cpp index c982625d0..2b646c5c6 100644 --- a/desmume/src/cp15.cpp +++ b/desmume/src/cp15.cpp @@ -82,7 +82,7 @@ armcp15_t *armcp15_new(armcpu_t * c) #define MASKFROMREG(val) (~((SIZEBINARY(val)-1) | 0x3F)) #define SETFROMREG(val) ((val) & MASKFROMREG(val)) /* sets the precalculated regions to mask,set for the affected accesstypes */ -static void armcp15_setSingleRegionAccess(armcp15_t *armcp15,unsigned long dAccess,unsigned long iAccess,unsigned char num, unsigned long mask,unsigned long set) { +static void armcp15_setSingleRegionAccess(armcp15_t *armcp15,u32 dAccess,u32 iAccess,unsigned char num, u32 mask,u32 set) { switch (ACCESSTYPE(dAccess,num)) { case 4: /* UNP */