diff options
-rw-r--r-- | input-send.c | 2 | ||||
-rw-r--r-- | input.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/input-send.c b/input-send.c index 946832f..0c26641 100644 --- a/input-send.c +++ b/input-send.c @@ -27,7 +27,7 @@ LIST_HEAD(connections); static void conn_new(void) { struct connection *conn; - int len; + unsigned int len; conn = malloc(sizeof(conn)); memset(conn,0,sizeof(conn)); @@ -83,7 +83,7 @@ char *BUS_NAME[] = { int device_open(int nr, int verbose) { char filename[32]; - int fd, version; + int fd; snprintf(filename,sizeof(filename), "/dev/input/event%d",nr); |