Cast XID to unsigned int to suppress a printf warning
authorAaron Plattner <aplattner@nvidia.com>
Wed, 6 Feb 2013 22:21:57 +0000 (14:21 -0800)
committerAaron Plattner <aplattner@nvidia.com>
Tue, 12 Feb 2013 20:29:44 +0000 (12:29 -0800)
commitbd166184f6c1973ae2f5f99d040733db3e9e82cf
treed78e4573791848ff802b0e427fc6f25ea1d901f6
parent7fd4f18b649f22fad4dbf9fc64b69b3e7f172207
Cast XID to unsigned int to suppress a printf warning

Sorry I forgot about this in commit 138b6252c0cae6599b6c8a25ffa22ffe70f227c2.
That change introduced a warning:

  xrandr.c|645 col 5| warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘XID’ [-Wformat]

Fix that by just casting the XID to unsigned int.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Daniel Dadap <ddadap@nvidia.com>
xrandr.c