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

master
hhb 2020-09-11 05:06:23 -07:00 committed by GitHub
parent c5565bd05f
commit 69713ce3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ KeySym : IDENT
| Integer | Integer
{ {
if ($1 < 0) { if ($1 < 0) {
parser_warn(param, "unrecognized keysym \"%ld\"", $1); parser_warn(param, "unrecognized keysym \"%"PRId64"\"", $1);
$$ = XKB_KEY_NoSymbol; $$ = XKB_KEY_NoSymbol;
} }
else if ($1 < 10) { /* XKB_KEY_0 .. XKB_KEY_9 */ else if ($1 < 10) { /* XKB_KEY_0 .. XKB_KEY_9 */