@@ -39,11 +39,11 @@ if ((ret_c = malloc((length * 3) + 1)) == NULL) @throw [OFOutOfMemoryException newWithClass: isa size: (length * 3) + 1]; for (i = 0; *s != '\0'; s++) { - if (isalnum(*s) || *s == '-' || *s == '_' || *s == '.' || + if (isalnum((int)*s) || *s == '-' || *s == '_' || *s == '.' || *s == '~') ret_c[i++] = *s; else { uint8_t high, low;