diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2008-04-13 11:28:59 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2008-04-13 11:28:59 +0000 |
| commit | ff7e02ab10911493c1252e9b5475168b3ab3105e (patch) | |
| tree | 22540e7e5476c9b02413eee585d6ae3ddec389de /src/registrytool.cpp | |
| parent | Rewrote code to get rid of 32/64 bit problems, and to make is more stream-lik... (diff) | |
| download | inkscape-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.cpp | 4 |
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"); |
