Permalink
Browse files

fix a const to get g++ to build

git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45764 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 0cddf33 commit f24584c80c9c3af6ef96b9440318e5b6c904c32b mikehh committed Apr 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/string/encoding/ucs2.c
View
2 src/string/encoding/ucs2.c
@@ -459,7 +459,7 @@ ucs2_encode_and_advance(PARROT_INTERP, ARGMOD(String_iter *i), UINTVAL c)
ASSERT_ARGS(ucs2_encode_and_advance)
#if PARROT_HAS_ICU
- UChar *s = (const UChar*) i->str->strstart;
+ UChar *s = (UChar*) i->str->strstart;
UINTVAL pos = i->bytepos / sizeof (UChar);
s[pos++] = (UChar)c;
i->charpos++;

0 comments on commit f24584c

Please sign in to comment.