Fix warning

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-08-09 01:55:30 +03:00
parent 2f1f1bca5b
commit 5a51ce8b36
2 changed files with 2 additions and 5 deletions

View File

@ -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;
}

5
test/.gitignore vendored
View File

@ -1,15 +1,12 @@
*.log
*.trs
canonicalise
filecomp
namescomp
rulescomp
xkey
keysym
state
context
rules-file
stringcomp
dump
keyseq
log
interactive