summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu
diff options
context:
space:
mode:
author Cowering <cowering@users.noreply.github.com>2015-05-28 17:03:36 -0500
committer Cowering <cowering@users.noreply.github.com>2015-05-28 17:03:36 -0500
commit4332164659ec242c69d3d314a523917955fb9d1c (patch)
tree225c1627dec06a16feddcfe2cb48a00f266773e6 /src/emu/cpu
parente2f8eed5b663ff0902674fca16f2d2daae269bd1 (diff)
compile fixes for GCC5.1.1 win64 and CPP11 mode.. requested by mingw team to test LTO fixes. please add #ifdefs if 64 bit printf does not work for you
Diffstat (limited to 'src/emu/cpu')
-rw-r--r--src/emu/cpu/alto2/a2roms.h2
-rw-r--r--src/emu/cpu/e132xs/e132xs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/alto2/a2roms.h b/src/emu/cpu/alto2/a2roms.h
index f1ffba032da..abd218344c9 100644
--- a/src/emu/cpu/alto2/a2roms.h
+++ b/src/emu/cpu/alto2/a2roms.h
@@ -30,7 +30,7 @@ typedef struct {
} prom_load_t;
#define ZERO 0
-#define KEEP ~0
+#define KEEP ~0U
#define AMAP_DEFAULT {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
#define AMAP_CONST_PROM {3,2,1,4,5,6,7,0,}
diff --git a/src/emu/cpu/e132xs/e132xs.c b/src/emu/cpu/e132xs/e132xs.c
index fb156aae200..5c8cdf66b65 100644
--- a/src/emu/cpu/e132xs/e132xs.c
+++ b/src/emu/cpu/e132xs/e132xs.c
@@ -835,7 +835,7 @@ static const INT32 immediate_values[32] =
{
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15,
- 16, 0, 0, 0, 32, 64, 128, 0x80000000,
+ 16, 0, 0, 0, 32, 64, 128, -2147483648 /*0x80000000 */,
-8, -7, -6, -5, -4, -3, -2, -1
};