summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/inputmap.c
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-05-20 21:24:59 +0200
committer couriersud <couriersud@arcor.de>2015-05-20 21:24:59 +0200
commitf10abf48d7f3eddd91db264f30d0bfa581c921f4 (patch)
tree697d8a63c55e89cfa6194aae8a6edd4aa1142137 /src/emu/ui/inputmap.c
parenta082abcd7d85e6c851e7283eff917e8111a37413 (diff)
Another round of -Wextra -Wdouble-promotion fixes. (nw)
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 */