cellog Sat Feb 21 02:34:02 2009 UTC
Modified files:
/php-src/ext/phar zip.c
Log:
MFB: cosmetics: fix warning (only affects suncc)
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/zip.c?r1=1.64&r2=1.65&diff_format=u
Index: php-src/ext/phar/zip.c
diff -u php-src/ext/phar/zip.c:1.64 php-src/ext/phar/zip.c:1.65
--- php-src/ext/phar/zip.c:1.64 Fri Feb 20 05:06:52 2009
+++ php-src/ext/phar/zip.c Sat Feb 21 02:34:01 2009
@@ -728,7 +728,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