diff options
Diffstat (limited to 'src/devices/cpu/mips/mips3com.h')
-rw-r--r-- | src/devices/cpu/mips/mips3com.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/mips/mips3com.h b/src/devices/cpu/mips/mips3com.h index 20facae78d0..677289a7763 100644 --- a/src/devices/cpu/mips/mips3com.h +++ b/src/devices/cpu/mips/mips3com.h @@ -59,7 +59,7 @@ -#define LOPTR(x) ((UINT32 *)(x) + NATIVE_ENDIAN_VALUE_LE_BE(0,1)) +#define LOPTR(x) ((uint32_t *)(x) + NATIVE_ENDIAN_VALUE_LE_BE(0,1)) /*************************************************************************** @@ -182,8 +182,8 @@ #define IS_FLOAT(o) (((o) & (1 << 23)) == 0) #define IS_INTEGRAL(o) (((o) & (1 << 23)) != 0) -#define SIMMVAL ((INT16)op) -#define UIMMVAL ((UINT16)op) +#define SIMMVAL ((int16_t)op) +#define UIMMVAL ((uint16_t)op) #define LIMMVAL (op & 0x03ffffff) |