From 37368e2be8cd1031d090bb57e01f58cfdc872394 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Tue, 29 Apr 2008 02:00:54 +0000 Subject: More documentation. Fix scope bug in uristream.cpp. Remove warnings. (bzr r5540) --- src/dom/uri.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dom/uri.cpp') 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 &arr) { @@ -342,9 +342,9 @@ static int findLast(const std::vector &str, int ch) } -static bool sequ(const std::vector &str, char *key) +static bool sequ(const std::vector &str, const char *key) { - char *c = key; + char *c = (char *)key; for (unsigned int i=0 ; i