diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 11:31:49 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 11:31:49 +0200 |
commit | 23ad94073f4c2f7131fa0c95b6202f2f9027db41 (patch) | |
tree | 4f4e1e27a22ace8fea49b63030d4462db7cb68a1 /src/mame/drivers/guab.cpp | |
parent | 255bf78b316a9dc9e4c53a65143000471a6927d3 (diff) |
use standard types uintptr_t, char16_t and char32_t instead of FPTR, utf16_char, unicode_char (nw)
Diffstat (limited to 'src/mame/drivers/guab.cpp')
-rw-r--r-- | src/mame/drivers/guab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/guab.cpp b/src/mame/drivers/guab.cpp index 222a23b86f5..62a04e77e23 100644 --- a/src/mame/drivers/guab.cpp +++ b/src/mame/drivers/guab.cpp @@ -304,7 +304,7 @@ INPUT_CHANGED_MEMBER(guab_state::coin_inserted) address_space &space = m_maincpu->space(AS_PROGRAM); /* Get the current credit value and add the new coin value */ - credit = space.read_dword(0x8002c) + (UINT32)(FPTR)param; + credit = space.read_dword(0x8002c) + (UINT32)(uintptr_t)param; space.write_dword(0x8002c, credit); } } |