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:
c03834a
)
keycodes: use correct printf format
author
Ran Benita
<ran234@gmail.com>
Thu, 23 Oct 2014 18:03:13 +0000
(21:03 +0300)
committer
Ran Benita
<ran234@gmail.com>
Thu, 23 Oct 2014 18:03:13 +0000
(21:03 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/keycodes.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/keycodes.c
b/src/xkbcomp/keycodes.c
index
9a828f0
..
7f5955e
100644
(file)
--- a/
src/xkbcomp/keycodes.c
+++ b/
src/xkbcomp/keycodes.c
@@
-467,7
+467,7
@@
HandleLedNameDef(KeyNamesInfo *info, LedNameDef *def,
if (!ExprResolveString(info->ctx, def->name, &name)) {
char buf[20];
- snprintf(buf, sizeof(buf), "%
d
", def->ndx);
+ snprintf(buf, sizeof(buf), "%
u
", def->ndx);
info->errorCount++;
return ReportBadType(info->ctx, "indicator", "name", buf, "string");
}