Index: lib-src/portsmf/strparse.cpp
===================================================================
RCS file: /cvsroot/audacity/lib-src/portsmf/strparse.cpp,v
retrieving revision 1.3
diff -u -r1.3 strparse.cpp
--- lib-src/portsmf/strparse.cpp	6 Aug 2008 17:57:54 -0000	1.3
+++ lib-src/portsmf/strparse.cpp	3 Sep 2008 07:10:44 -0000
@@ -48,10 +48,10 @@
 }
 
 
-char *escape_chars[] = {"\\n", "\\t", "\\\\", "\\r", "\\\""};
+static const char *const escape_chars[] = {"\\n", "\\t", "\\\\", "\\r", "\\\""};
 
 
-void string_escape(string &result, char *str, char *quote)
+void string_escape(string &result, const char *str, const char *quote)
 {
     int length = (int) strlen(str);
     if (quote[0]) {
@@ -59,8 +59,8 @@
     }
     for (int i = 0; i < length; i++) {
         if (!isalnum((unsigned char) str[i])) {
-            char *chars = "\n\t\\\r\"";
-            char *special = strchr(chars, str[i]);
+            const char *const chars = "\n\t\\\r\"";
+            const char *const special = strchr(chars, str[i]);
             if (special) {
                 result.append(escape_chars[special - chars]);
             } else {
Index: lib-src/portsmf/strparse.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/portsmf/strparse.h,v
retrieving revision 1.2
diff -u -r1.2 strparse.h
--- lib-src/portsmf/strparse.h	6 Aug 2008 17:57:54 -0000	1.2
+++ lib-src/portsmf/strparse.h	3 Sep 2008 07:10:53 -0000
@@ -15,4 +15,4 @@
     void get_remainder(std::string &field);
 };
 
-void string_escape(std::string &result, char *s, char *quote);
+void string_escape(std::string &result, const char *s, const char *quote);
