[PATCH xts] xts5: Fix format specifier type warning in XtSetSelectionTimeout

Adam Jackson ajax at nwnk.net
Tue Nov 1 17:48:06 UTC 2016


On Fri, 2016-10-28 at 23:04 -0400, Rhys Kidd wrote:
> XtSetSelectionTimeout.c: In function:
> XtSetSelectionTimeout.c:90:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
>    sprintf(ebuf, "ERROR: Expected 5000 received %d", value_good);
>    ^
> XtSetSelectionTimeout.c:98:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
>    sprintf(ebuf, "ERROR: Expected 10000 received %d", value_good);
>    ^
> 
> Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>

remote: I: patch #119131 updated using rev 514a61ddb179ee7f560746a6d86f1f4d75c8b646.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/test/xts
   cc5049f..514a61d  master -> master

- ajax


More information about the xorg-devel mailing list