XtGetKeysymTable.c:258:5: warning: format '%ld' expects a matching 'long int' argument [-Wformat=]
Signed-off-by: Rhys Kidd <[email protected]> --- xts5/Xt12/XtGetKeysymTable.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xts5/Xt12/XtGetKeysymTable.m b/xts5/Xt12/XtGetKeysymTable.m index db22f1b..1d8ab91 100644 --- a/xts5/Xt12/XtGetKeysymTable.m +++ b/xts5/Xt12/XtGetKeysymTable.m @@ -209,7 +209,7 @@ Xlib returns to what Xt returns*/ for (i = min_keycode; i <= max_keycode; i++ ) { if (keysym_good[i] == NoSymbol) { if (keysym_return[i] != NoSymbol) { - sprintf(ebuf, "ERROR: min_keycode + %d should be NoSymbol, is %ld", (long)keysym_return[i]); + sprintf(ebuf, "ERROR: min_keycode + %d should be NoSymbol, is %ld", i, (long)keysym_return[i]); tet_infoline(ebuf); tet_result(TET_FAIL); } -- 2.9.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
