summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpoirey <nicolas.poirey@gmail.com>2017-06-22 10:47:44 +0200
committernpoirey <nicolas.poirey@gmail.com>2017-06-22 10:47:44 +0200
commit0fb835c54c02926ec76635741567bf63bd55dce4 (patch)
tree0bccad719ec7c54cc47b4dd4b8b59026f19ef976
parent23b0fc20e3c94972db7ff897854d2b0513937d71 (diff)
Fix warning in frenchdev
-rw-r--r--keyboards/frenchdev/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/frenchdev/keymaps/default/keymap.c b/keyboards/frenchdev/keymaps/default/keymap.c
index e0a05cb3c6..035e0179d3 100644
--- a/keyboards/frenchdev/keymaps/default/keymap.c
+++ b/keyboards/frenchdev/keymaps/default/keymap.c
@@ -212,8 +212,8 @@ void press_enter(void) {
void press_underscore(void) {
if(shift_count > 0) unregister_code (KC_LSHIFT);
- register_code (BP_UNDS);
- unregister_code (BP_UNDS);
+ register_code ((unsigned char) BP_UNDS);
+ unregister_code ((unsigned char) BP_UNDS);
if(shift_count > 0) register_code (KC_LSHIFT);
}