1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00

shut up warnings

This commit is contained in:
Antony Dovgal
2005-08-12 20:58:28 +00:00
parent df39154c83
commit d09b1b1e89
+1 -1
View File
@@ -952,7 +952,7 @@ SPL_METHOD(dual_it, key)
} else if (intern->current.key_type == HASH_KEY_IS_BINARY) {
RETURN_BINARYL(intern->current.str_key, intern->current.str_key_len-1, 1);
} else if (intern->current.key_type == HASH_KEY_IS_UNICODE) {
RETURN_UNICODEL(intern->current.str_key, intern->current.str_key_len-1, 1);
RETURN_UNICODEL((UChar *)intern->current.str_key, intern->current.str_key_len-1, 1);
} else {
RETURN_LONG(intern->current.int_key);
}