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
|
@ -189,7 +189,7 @@ xf86parsePointerSection (void)
|
|||
if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) {
|
||||
Error (ZAXISMAPPING_MSG, NULL);
|
||||
}
|
||||
if (asprintf(&s, "%ul %ul", val1, val.num) == -1)
|
||||
if (asprintf(&s, "%lu %u", val1, val.num) == -1)
|
||||
s = NULL;
|
||||
break;
|
||||
case XAXIS:
|
||||
|
|
Loading…
Reference in New Issue
Block a user