projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670566f
)
parser: fix format string for int64_t
author
Ran Benita
<ran@unusedvar.com>
Fri, 27 Dec 2019 12:51:31 +0000
(14:51 +0200)
committer
Ran Benita
<ran@unusedvar.com>
Fri, 27 Dec 2019 13:20:25 +0000
(15:20 +0200)
Signed-off-by: Ran Benita <ran@unusedvar.com>
src/xkbcomp/parser.y
patch
|
blob
|
history
diff --git
a/src/xkbcomp/parser.y
b/src/xkbcomp/parser.y
index
45f9d90
..
d71056d
100644
(file)
--- a/
src/xkbcomp/parser.y
+++ b/
src/xkbcomp/parser.y
@@
-742,7
+742,7
@@
KeySym : IDENT
}
else {
char buf[32];
- snprintf(buf, sizeof(buf), "0x%
lx"
, $1);
+ snprintf(buf, sizeof(buf), "0x%
"PRIx64
, $1);
if (!resolve_keysym(buf, &$$)) {
parser_warn(param, "unrecognized keysym \"%s\"", buf);
$$ = XKB_KEY_NoSymbol;