summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/inputmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/inputmap.c')
-rw-r--r--src/emu/ui/inputmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/inputmap.c b/src/emu/ui/inputmap.c
index d41e9e9b08f..9aa63fdcec9 100644
--- a/src/emu/ui/inputmap.c
+++ b/src/emu/ui/inputmap.c
@@ -25,7 +25,7 @@
/* DIP switch rendering parameters */
#define DIP_SWITCH_HEIGHT 0.05f
-#define DIP_SWITCH_SPACING 0.01
+#define DIP_SWITCH_SPACING 0.01f
#define SINGLE_TOGGLE_SWITCH_FIELD_WIDTH 0.025f
#define SINGLE_TOGGLE_SWITCH_WIDTH 0.020f
/* make the switch 80% of the width space and 1/2 of the switch height */