summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cheat.c')
-rw-r--r--src/emu/cheat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index dcc43aa9334..60aaa874730 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -7254,11 +7254,11 @@ static int EditWatch(running_machine *machine, WatchInfo * entry, int selection)
break;
case kMenu_XPosition:
- entry->x -= 0.01;
+ entry->x -= 0.01f;
break;
case kMenu_YPosition:
- entry->y -= 0.01;
+ entry->y -= 0.01f;
break;
case kMenu_Skip:
@@ -7349,11 +7349,11 @@ static int EditWatch(running_machine *machine, WatchInfo * entry, int selection)
break;
case kMenu_XPosition:
- entry->x += 0.01;
+ entry->x += 0.01f;
break;
case kMenu_YPosition:
- entry->y += 0.01;
+ entry->y += 0.01f;
break;
case kMenu_Skip: