../src/xf86Wacom.c: In function 'wcmEventAutoDevProbe':
../src/xf86Wacom.c:527:5: warning: return discards 'const' qualifier from 
pointer target type [enabled by default]

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 src/xf86Wacom.c |    2 +-
 src/xf86Wacom.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
index b04e06d..5011fe0 100644
--- a/src/xf86Wacom.c
+++ b/src/xf86Wacom.c
@@ -501,7 +501,7 @@ Bool wcmIsWacomDevice (char* fname)
  ****************************************************************************/
 #define DEV_INPUT_EVENT "/dev/input/event%d"
 #define EVDEV_MINORS    32
-char *wcmEventAutoDevProbe (InputInfoPtr pInfo)
+const char *wcmEventAutoDevProbe (InputInfoPtr pInfo)
 {
        /* We are trying to find the right eventX device */
        int i, wait = 0;
diff --git a/src/xf86Wacom.h b/src/xf86Wacom.h
index 639885e..ca0bcf0 100644
--- a/src/xf86Wacom.h
+++ b/src/xf86Wacom.h
@@ -107,7 +107,7 @@ struct _WacomModule
 extern Bool wcmOpen(InputInfoPtr pInfo);
 
 /* device autoprobing */
-char *wcmEventAutoDevProbe (InputInfoPtr pInfo);
+const char *wcmEventAutoDevProbe (InputInfoPtr pInfo);
 
 /* common tablet initialization regime */
 int wcmInitTablet(InputInfoPtr pInfo, const char* id, float version);
-- 
1.7.10.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to