From: Egbert Eich <e...@suse.com>

Signed-off-by: Egbert Eich <e...@suse.com>
---
 src/xf86WacomDefs.h | 2 +-
 test/wacom-tests.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index 3a64fd6..6de9645 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -515,7 +515,7 @@ struct _WacomTool
        int typeid; /* Tool type */
        unsigned int serial; /* Serial id, 0 == no serial id */
        Bool enabled;
-       char *name;
+       char const *name;
 
        InputInfoPtr device; /* The InputDevice connected to this tool */
 };
diff --git a/test/wacom-tests.c b/test/wacom-tests.c
index 75f32b6..743bd2c 100644
--- a/test/wacom-tests.c
+++ b/test/wacom-tests.c
@@ -185,7 +185,7 @@ test_normalize_pressure(void)
 
        priv.common = &common;
        priv.pInfo = &pInfo;
-       pInfo.name = "Wacom test device";
+       pInfo.name = strdupa("Wacom test device");
 
        priv.minPressure = 0;
 
-- 
1.8.1.4


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to