From 7707318d615471f2eadf5d849eecbfc66a64e663 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sat, 21 Feb 2009 02:32:16 +0000 Subject: [PATCH] cosmetics: fix warning (only affects suncc) --- ext/phar/zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1