Commit 69713ce3e91a5b766e0bc2c1dafb7890b675cda0

hhb 2020-09-11T05:06:23

parser: fix another format string for int64_t (#191)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y
index d71056d..6dcb523 100644
--- a/src/xkbcomp/parser.y
+++ b/src/xkbcomp/parser.y
@@ -734,7 +734,7 @@ KeySym          :       IDENT
                 |       Integer
                         {
                             if ($1 < 0) {
-                                parser_warn(param, "unrecognized keysym \"%ld\"", $1);
+                                parser_warn(param, "unrecognized keysym \"%"PRId64"\"", $1);
                                 $$ = XKB_KEY_NoSymbol;
                             }
                             else if ($1 < 10) {      /* XKB_KEY_0 .. XKB_KEY_9 */