a31b4d
diff -ru lilypond-2.12.2.orig/lily/relocate.cc lilypond-2.12.2/lily/relocate.cc
a31b4d
--- lilypond-2.12.2.orig/lily/relocate.cc	2009-03-04 15:27:38.000000000 +0000
a31b4d
+++ lilypond-2.12.2/lily/relocate.cc	2009-03-04 15:28:14.000000000 +0000
a31b4d
@@ -276,13 +276,13 @@
a31b4d
   string out;
a31b4d
   while (ptr < start_ptr + len)
a31b4d
     {
a31b4d
-      char *dollar = strchr (ptr, '$');
a31b4d
+      const char *dollar = strchr (ptr, '$');
a31b4d
       
a31b4d
       if (dollar != NULL)
a31b4d
 	{
a31b4d
-	  char *start_var = dollar + 1;
a31b4d
-	  char *end_var = start_var;
a31b4d
-	  char *start_next = end_var;
a31b4d
+	  const char *start_var = dollar + 1;
a31b4d
+	  const char *end_var = start_var;
a31b4d
+	  const char *start_next = end_var;
a31b4d
 	  
a31b4d
 	  out += string (ptr, dollar - ptr);
a31b4d
 	  ptr = dollar;