summaryrefslogtreecommitdiffstats
path: root/src/dom/uri.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-04-29 02:00:54 +0000
committerishmal <ishmal@users.sourceforge.net>2008-04-29 02:00:54 +0000
commit37368e2be8cd1031d090bb57e01f58cfdc872394 (patch)
treed2f9d7051e52b8e6c14ffaa9ebb5d67cc6eca953 /src/dom/uri.cpp
parentCmake: Fixed optional dependency linking (diff)
downloadinkscape-37368e2be8cd1031d090bb57e01f58cfdc872394.tar.gz
inkscape-37368e2be8cd1031d090bb57e01f58cfdc872394.zip
More documentation. Fix scope bug in uristream.cpp. Remove warnings.
(bzr r5540)
Diffstat (limited to 'src/dom/uri.cpp')
-rw-r--r--src/dom/uri.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dom/uri.cpp b/src/dom/uri.cpp
index 562a674bb..b8a9a04fb 100644
--- a/src/dom/uri.cpp
+++ b/src/dom/uri.cpp
@@ -173,7 +173,7 @@ void URI::assign(const URI &other)
//#########################################################################
//#A T T R I B U T E S
//#########################################################################
-static char *hexChars = "0123456789abcdef";
+static const char *hexChars = "0123456789abcdef";
static DOMString toStr(const std::vector<int> &arr)
{
@@ -342,9 +342,9 @@ static int findLast(const std::vector<int> &str, int ch)
}
-static bool sequ(const std::vector<int> &str, char *key)
+static bool sequ(const std::vector<int> &str, const char *key)
{
- char *c = key;
+ char *c = (char *)key;
for (unsigned int i=0 ; i<str.size() ; i++)
{
if (! (*c))