../src/wcmXCommand.c: In function 'InitWcmDeviceProperties': ../src/wcmXCommand.c:175:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:179:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:186:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:194:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:197:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:201:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:205:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:209:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:212:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:216:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:220:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:225:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:228:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:234:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:238:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:244:3: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:249:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *' ../src/wcmXCommand.c:254:2: warning: passing argument 2 of 'InitWcmAtom' discards 'const' qualifier from pointer target type [enabled by default] ../src/wcmXCommand.c:121:13: note: expected 'char *' but argument is of type 'const char *'
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- src/wcmXCommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c index 883b3b1..724a9ac 100644 --- a/src/wcmXCommand.c +++ b/src/wcmXCommand.c @@ -118,7 +118,7 @@ Atom prop_debuglevels; * @param values Pointer to 32 bit integer array of initial property values * @return Atom handle of property name */ -static Atom InitWcmAtom(DeviceIntPtr dev, char *name, Atom type, int format, int nvalues, int *values) +static Atom InitWcmAtom(DeviceIntPtr dev, const char *name, Atom type, int format, int nvalues, int *values) { int i; Atom atom; -- 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