summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2009-02-21 02:32:16 +0000
committerGreg Beaver <cellog@php.net>2009-02-21 02:32:16 +0000
commit7707318d615471f2eadf5d849eecbfc66a64e663 (patch)
tree9aeece5c502338e79b43f6569141615162e5a859 /ext
parenta518082fb07b72896e4d06e4535fd2d9984c1307 (diff)
downloadphp-git-7707318d615471f2eadf5d849eecbfc66a64e663.tar.gz
cosmetics: fix warning (only affects suncc)
Diffstat (limited to 'ext')
-rw-r--r--ext/phar/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/zip.c b/ext/phar/zip.c
index dd90aad0fd..921b61d0ec 100644
--- a/ext/phar/zip.c
+++ b/ext/phar/zip.c
@@ -727,7 +727,7 @@ static int phar_zip_changed_apply(void *data, void *arg TSRMLS_DC) /* {{{ */
PHAR_SET_16(perms.size, sizeof(perms) - 4);
PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK);
{
- php_uint32 crc = ~0;
+ php_uint32 crc = (php_uint32) ~0;
CRC32(crc, perms.perms[0]);
CRC32(crc, perms.perms[1]);
PHAR_SET_32(perms.crc32, ~crc);