[svn:parrot] r40969 - trunk/src/pmc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Sep 4 05:41:35 UTC 2009


Author: mikehh
Date: Fri Sep  4 05:41:34 2009
New Revision: 40969
URL: https://trac.parrot.org/parrot/changeset/40969

Log:
codetest failure - isxxx() function not cast to unsigned char

Modified:
   trunk/src/pmc/hash.pmc

Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc	Fri Sep  4 05:37:52 2009	(r40968)
+++ trunk/src/pmc/hash.pmc	Fri Sep  4 05:41:34 2009	(r40969)
@@ -628,7 +628,7 @@
             key_str = Parrot_str_to_cstring(INTERP, key);
             str_len = strlen(key_str);
             for (i = 0; i < str_len; ++i) {
-                if (!isdigit(key_str[i])) {
+                if (!isdigit((unsigned char)key_str[i])) {
                     all_digit = 0;
                     break;
                 }


More information about the parrot-commits mailing list