diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
commit | c03328857394bef36ffa9678d33079ad96e4a4e4 (patch) | |
tree | c0fb250db3b1bb996fc305bf56c2b74eb6d00935 /ext/standard/crc32.c | |
parent | 158d34c9a57816326e141e88e1409d9f377dc2ea (diff) | |
download | php-git-c03328857394bef36ffa9678d33079ad96e4a4e4.tar.gz |
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
Diffstat (limited to 'ext/standard/crc32.c')
-rw-r--r-- | ext/standard/crc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/crc32.c b/ext/standard/crc32.c index 0c7a06b6dd..e14c872cbf 100644 --- a/ext/standard/crc32.c +++ b/ext/standard/crc32.c @@ -117,8 +117,8 @@ PHP_NAMED_FUNCTION(php_if_crc32) convert_to_string_ex(arg); len = 0 ; - nr=(*arg)->value.str.len; - p = (*arg)->value.str.val; + nr=Z_STRLEN_PP(arg); + p = Z_STRVAL_PP(arg); for (len += nr; nr--; ++p) { CRC32(crc, *p); } |