xsetwacom.c: In function ‘get_button’:
xsetwacom.c:2080:2: warning: format ‘%d’ expects argument of type ‘int’, but 
argument 4 has type ‘Atom’ [-Wformat=]
  print_button_value(param, offset, "%d", prop);

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 tools/xsetwacom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index bc22be0..284e6e2 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -2077,7 +2077,7 @@ static int get_button(Display *dpy, XDevice *dev, param_t 
*param, int offset)
                return 0;
        }
 
-       print_button_value(param, offset, "%d", prop);
+       print_button_value(param, offset, "%ld", prop);
 
        return 1;
 }
-- 
2.2.2


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to