diff --git a/PKGBUILD b/PKGBUILD
index 606aace239e7298f3eeb8fb29e1a6ce215a53598..33abe35e34bf5906c51ba04b600e6732679a1e53 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Maël 'Kubat' MARTIN <mael.martin31@gmail.com>
 pkgname=lektor
-pkgver=mk7.1014.3e1d569
+pkgver=mk7.1015.cfd3ca9
 pkgrel=1
 pkgdesc="The lektor kara player, from the Bakaclub"
 arch=(x86_64 i686)
diff --git a/src/main/lkt.c b/src/main/lkt.c
index 440f6e45910fed1de4b069fd10fa507d97d929dd..03689cb8edb4355d4dc4408d77c1b989da5dc006 100644
--- a/src/main/lkt.c
+++ b/src/main/lkt.c
@@ -849,7 +849,7 @@ search_get__(struct lkt_cmd_args *args)
     fail_if(!strtol(args->argv[0], NULL, 0), "Invalid id");
     char buff[LKT_MESSAGE_MAX];
     FILE *sock = lkt_connect();
-    int foo;
+    size_t foo;
 
     write_socket(sock, "find %s\n", args->argv[0]);
     for (;;) {
@@ -860,7 +860,7 @@ search_get__(struct lkt_cmd_args *args)
         else if (STR_NMATCH(buff, "ACK", 3))
             exit(EXIT_FAILURE);
     foo = write(1, buff, strlen(buff));
-    (void)foo;
+    UNUSED(foo);
     }
 }