summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-15 12:30:28 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-08-15 12:30:39 -0400
commitb9920d8de977129c84dc1bf449c501d12a8290b9 (patch) (github)
treecea1b07c614c05df27b211249f8d91af25030fad
parent211bda4a5350c35633c60995bb8dd111e197601f (diff)
downloadmame-b9920d8de977129c84dc1bf449c501d12a8290b9.tar.bz2
mame-b9920d8de977129c84dc1bf449c501d12a8290b9.zip
More purging of now-superfluous uintptr_t casting (nw)
-rw-r--r--src/devices/bus/ti99/gromport/gkracker.cpp2
-rw-r--r--src/devices/bus/ti99/internal/genboard.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/ti99/gromport/gkracker.cpp b/src/devices/bus/ti99/gromport/gkracker.cpp
index dc10dd37ffc..7010b1f34ec 100644
--- a/src/devices/bus/ti99/gromport/gkracker.cpp
+++ b/src/devices/bus/ti99/gromport/gkracker.cpp
@@ -317,7 +317,7 @@ void ti99_gkracker_device::cruwrite(offs_t offset, uint8_t data)
INPUT_CHANGED_MEMBER( ti99_gkracker_device::gk_changed )
{
- LOGMASKED(LOG_GKRACKER, "Input changed %d - %d\n", (int)((uintptr_t)param & 0x07), newval);
+ LOGMASKED(LOG_GKRACKER, "Input changed %d - %d\n", int(param & 0x07), newval);
m_gk_switch[param & 0x07] = newval;
}
diff --git a/src/devices/bus/ti99/internal/genboard.cpp b/src/devices/bus/ti99/internal/genboard.cpp
index 62fb066b150..91c5c8d127e 100644
--- a/src/devices/bus/ti99/internal/genboard.cpp
+++ b/src/devices/bus/ti99/internal/genboard.cpp
@@ -294,7 +294,7 @@ INPUT_CHANGED_MEMBER( geneve_mapper_device::settings_changed )
INPUT_CHANGED_MEMBER( genmod_mapper_device::setgm_changed )
{
- int number = (int)((uintptr_t)param&0x03);
+ int number = int(param&0x03);
int value = newval;
switch (number)