From: Greg Beaver Date: Sat, 21 Feb 2009 02:34:01 +0000 (+0000) Subject: MFB: cosmetics: fix warning (only affects suncc) X-Git-Tag: php-5.4.0alpha1~191^2~4230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9633dc158b2a64bc0db676b5f7dc9b86ed01c837;p=php MFB: cosmetics: fix warning (only affects suncc) --- diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 30c25149ed..71a35b11d6 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -728,7 +728,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);