cellog Sat Feb 21 02:32:16 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/phar zip.c Log: cosmetics: fix warning (only affects suncc) http://cvs.php.net/viewvc.cgi/php-src/ext/phar/zip.c?r1=1.47.2.29&r2=1.47.2.30&diff_format=u Index: php-src/ext/phar/zip.c diff -u php-src/ext/phar/zip.c:1.47.2.29 php-src/ext/phar/zip.c:1.47.2.30 --- php-src/ext/phar/zip.c:1.47.2.29 Fri Feb 20 05:06:37 2009 +++ php-src/ext/phar/zip.c Sat Feb 21 02:32:16 2009 @@ -727,7 +727,7 @@ 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);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php