From ce38f3d01c76327fcbeadccf125f7e7540ed4721 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 1 Jul 2015 23:28:00 +0200 Subject: Fix bogus return value handling --- rcm-server-keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3