summaryrefslogtreecommitdiffstats
path: root/src/registrytool.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-04-13 11:28:59 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-04-13 11:28:59 +0000
commitff7e02ab10911493c1252e9b5475168b3ab3105e (patch)
tree22540e7e5476c9b02413eee585d6ae3ddec389de /src/registrytool.cpp
parentRewrote code to get rid of 32/64 bit problems, and to make is more stream-lik... (diff)
downloadinkscape-ff7e02ab10911493c1252e9b5475168b3ab3105e.tar.gz
inkscape-ff7e02ab10911493c1252e9b5475168b3ab3105e.zip
address some char* string literal warnings.
(bzr r5414)
Diffstat (limited to 'src/registrytool.cpp')
-rw-r--r--src/registrytool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/registrytool.cpp b/src/registrytool.cpp
index 7f6ff8a9a..84af86eff 100644
--- a/src/registrytool.cpp
+++ b/src/registrytool.cpp
@@ -167,8 +167,8 @@ void testReg()
RegistryTool rt;
char *key =
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\inkscape.exe";
- char *name = "";
- char *value = "c:\\inkscape\\inkscape.exe";
+ char const *name = "";
+ char const *value = "c:\\inkscape\\inkscape.exe";
if (!rt.setStringValue(key, name, value))
{
printf("Test failed\n");