diff options
author | Egbert Eich <eich@suse.com> | 2014-02-12 18:27:43 +0100 |
---|---|---|
committer | Egbert Eich <eich@suse.com> | 2014-02-19 14:08:57 +0100 |
commit | 96c9beedecccb1dbdd2a24294d25ed796639fd02 (patch) | |
tree | 2cd479e2a0bee36780e36240705abeada2dd78a3 /test | |
parent | e72f0c2146d3b84083561961c3eedc3ca003dca6 (diff) |
Fix warning about discarding 'const' qualifier
Signed-off-by: Egbert Eich <eich@suse.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/wacom-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |