summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhhb <haibohuang2010@gmail.com>2020-09-11 05:06:23 -0700
committerGitHub <noreply@github.com>2020-09-11 15:06:23 +0300
commit69713ce3e91a5b766e0bc2c1dafb7890b675cda0 (patch)
treecf4b2c723a713b3fa689db2780ebb5290e8ab72a /src
parentc5565bd05f729e490573ccc6f34f5a8d52570a27 (diff)
downloadlibxkbcommon-69713ce3e91a5b766e0bc2c1dafb7890b675cda0.tar.gz
libxkbcommon-69713ce3e91a5b766e0bc2c1dafb7890b675cda0.tar.bz2
libxkbcommon-69713ce3e91a5b766e0bc2c1dafb7890b675cda0.zip
parser: fix another format string for int64_t (#191)
Diffstat (limited to 'src')
-rw-r--r--src/xkbcomp/parser.y2
1 files changed, 1 insertions, 1 deletions
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 */