keycodes: use correct printf format
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
c03834a1c6
commit
9162017947
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue