aboutsummaryrefslogtreecommitdiff
path: root/src/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale.c')
-rw-r--r--src/locale.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locale.c b/src/locale.c
index 01de49d..75073be 100644
--- a/src/locale.c
+++ b/src/locale.c
@@ -46,6 +46,8 @@ cfstring_from_keycode(CGKeyCode keycode)
return NULL;
}
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wint-to-void-pointer-cast"
uint32_t keycode_from_char(char key)
{
uint32_t keycode = 0;
@@ -68,3 +70,4 @@ uint32_t keycode_from_char(char key)
return keycode;
}
+#pragma clang diagnostic pop