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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user