[svn:parrot] r48843 - trunk/src/string/encoding

nwellnhof at svn.parrot.org nwellnhof at svn.parrot.org
Wed Sep 8 00:52:11 UTC 2010


Author: nwellnhof
Date: Wed Sep  8 00:52:11 2010
New Revision: 48843
URL: https://trac.parrot.org/parrot/changeset/48843

Log:
[str] Fix to ucs4_hash to build without ICU

Modified:
   trunk/src/string/encoding/ucs4.c

Modified: trunk/src/string/encoding/ucs4.c
==============================================================================
--- trunk/src/string/encoding/ucs4.c	Wed Sep  8 00:26:33 2010	(r48842)
+++ trunk/src/string/encoding/ucs4.c	Wed Sep  8 00:52:11 2010	(r48843)
@@ -437,7 +437,7 @@
 ucs4_hash(PARROT_INTERP, ARGIN(const STRING *s), size_t hashval)
 {
     ASSERT_ARGS(ucs4_hash)
-    const UChar32 *pos = (const UChar32*) s->strstart;
+    const Parrot_UInt4 *pos = (const Parrot_UInt4 *) s->strstart;
     UINTVAL len = s->strlen;
     UNUSED(interp);
 


More information about the parrot-commits mailing list