Commit 5a51ce8b3689b13c726a585f3013529ac287dd73

Ran Benita 2012-08-09T01:55:30

Fix warning Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/rules.c b/src/xkbcomp/rules.c
index 622d42c..8c0ba3a 100644
--- a/src/xkbcomp/rules.c
+++ b/src/xkbcomp/rules.c
@@ -1001,7 +1001,7 @@ load_rules(struct xkb_context *ctx, FILE *file)
     orig = mmap(NULL, stat_buf.st_size, PROT_READ, MAP_SHARED, fd, 0);
     if (!orig) {
         log_err(ctx, "couldn't mmap rules file (%zu bytes)\n",
-                stat_buf.st_size);
+                (size_t) stat_buf.st_size);
         return NULL;
     }
 
diff --git a/test/.gitignore b/test/.gitignore
index a5afc6a..4cdda7c 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -1,15 +1,12 @@
 *.log
 *.trs
-canonicalise
 filecomp
-namescomp
 rulescomp
-xkey
+keysym
 state
 context
 rules-file
 stringcomp
-dump
 keyseq
 log
 interactive