mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
xfree86: warning fix
Pointer.c: In function 'xf86parsePointerSection': Pointer.c:192:5: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
5275fbe2e2
commit
2762eef8c3
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ xf86parsePointerSection (void)
|
||||||
if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) {
|
if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) {
|
||||||
Error (ZAXISMAPPING_MSG, NULL);
|
Error (ZAXISMAPPING_MSG, NULL);
|
||||||
}
|
}
|
||||||
if (asprintf(&s, "%ul %ul", val1, val.num) == -1)
|
if (asprintf(&s, "%lu %u", val1, val.num) == -1)
|
||||||
s = NULL;
|
s = NULL;
|
||||||
break;
|
break;
|
||||||
case XAXIS:
|
case XAXIS:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue