summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2013-02-26 09:39:20 -0800
committerJason Gerecke <killertofu@gmail.com>2013-02-26 09:39:20 -0800
commitbe0b40d2453ba03d99a6dab460ad4007c4d97161 (patch)
tree6b04095e64d35d8c50ac48ed1767c2b336b60664
parentdc5608a2911cf0698db1dd083250e37b4a31d58f (diff)
downloadxf86-input-wacom-be0b40d2453ba03d99a6dab460ad4007c4d97161.tar.gz
Fix warning: format expects argument of type
../src/wcmXCommand.c: In function 'wcmCheckActionProperty': ../src/wcmXCommand.c:387:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat] Signed-off-by: Jason Gerecke <killertofu@gmail.com>
-rw-r--r--src/wcmXCommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
index a5b18ce..2ca7e01 100644
--- a/src/wcmXCommand.c
+++ b/src/wcmXCommand.c
@@ -384,7 +384,7 @@ static int wcmCheckActionProperty(WacomDevicePtr priv, Atom property, XIProperty
}
if (prop->size >= 255) {
- DBG(3, priv, "ERROR: Too many values (%d > 255)\n", prop->size);
+ DBG(3, priv, "ERROR: Too many values (%ld > 255)\n", prop->size);
return BadMatch;
}