silly.
Signed-off-by: Peter Hutterer <[email protected]>
---
tools/xsetwacom.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 69674ef..68574b6 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -1207,8 +1207,9 @@ static char** strjoinsplit(int argc, char **argv, int
*nwords)
if (strlen(buff) + strlen(*argv) + 1 >= sizeof(buff))
break;
- strcat(buff, (const char*)(*argv)++);
+ strcat(buff, *argv);
strcat(buff, " ");
+ argv++;
}
*nwords = 0;
--
1.6.6.1
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel