diff options
author | Steph Fox <sfox@php.net> | 2008-05-14 21:29:51 +0000 |
---|---|---|
committer | Steph Fox <sfox@php.net> | 2008-05-14 21:29:51 +0000 |
commit | 6a0682d986c8e7fa16b51a8c3fd8f7cc01660426 (patch) | |
tree | 3f4902979371a318d695b6a09dc003c95b6a0258 /ext/phar/tests/files | |
parent | b3b5126954689c93baddbbe48f714594bf7dac13 (diff) | |
download | php-git-6a0682d986c8e7fa16b51a8c3fd8f7cc01660426.tar.gz |
- MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.
Diffstat (limited to 'ext/phar/tests/files')
-rw-r--r-- | ext/phar/tests/files/phar_test.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/files/phar_test.inc b/ext/phar/tests/files/phar_test.inc index a5e9d3fdc8..0f989f9db1 100644 --- a/ext/phar/tests/files/phar_test.inc +++ b/ext/phar/tests/files/phar_test.inc @@ -36,7 +36,7 @@ foreach($files as $name => $cont) if (empty($comp)) $comp = $cont; if (empty($ulen)) $ulen = strlen($cont); if (empty($clen)) $clen = strlen($comp); - if (empty($crc32))$crc32= crc32($cont); + if (empty($crc32))$crc32= crc32((binary)$cont); if (isset($meta)) $meta = serialize($meta); // write manifest entry |