diff options
author | David Härdeman <david@hardeman.nu> | 2015-07-01 23:28:00 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-07-01 23:28:00 +0200 |
commit | ce38f3d01c76327fcbeadccf125f7e7540ed4721 (patch) | |
tree | e1ea24540c6ec733c3aec42e5ea24196a6b555ac | |
parent | b6d82ecee6e38b83776d3a9d4637c51fc5151beb (diff) |
Fix bogus return value handling
-rw-r--r-- | rcm-server-keymap.c | 2 |
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; |