summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rcm-server-keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcm-server-keymap.c b/rcm-server-keymap.c
index 41c9216..d0f772e 100644
--- a/rcm-server-keymap.c
+++ b/rcm-server-keymap.c
@@ -247,7 +247,7 @@ keymap_read(int dfd, const char *name)
uint16_t cols, rows;
unsigned keycode_count;
size_t buf_size = 0;
- unsigned r;
+ int r;
if (dfd < 0 || !name)
return NULL;