summaryrefslogtreecommitdiffstats
path: root/src/dom/uri.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-09-16 14:27:13 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-09-16 14:27:13 +0000
commit7ca42902c49bceffdbef6830cb23377eea6ae656 (patch)
tree182198b88980c2dd9c72311f8cbb9e9a44655801 /src/dom/uri.cpp
parenttrivial changes to address warning with g++-4.2 (diff)
downloadinkscape-7ca42902c49bceffdbef6830cb23377eea6ae656.tar.gz
inkscape-7ca42902c49bceffdbef6830cb23377eea6ae656.zip
trivial: Address some g++-4.2 writable-strings warnings.
(bzr r3758)
Diffstat (limited to 'src/dom/uri.cpp')
-rw-r--r--src/dom/uri.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp
index 9eff6b8b0..e68caf898 100644
--- a/src/dom/uri.cpp
+++ b/src/dom/uri.cpp
@@ -49,7 +49,7 @@ namespace dom
typedef struct
{
int ival;
- char *sval;
+ char const *sval;
int port;
} LookupEntry;
@@ -572,7 +572,7 @@ int URI::peek(int p)
-int URI::match(int p0, char *key)
+int URI::match(int p0, char const *key)
{
int p = p0;
while (p < parselen)