cvs: php-src /ext/phar zip.c
| From: | Greg Beaver | Date: | Sat, 21 Feb 2009 02:34:02 +0000 |
| Subject: | cvs: php-src /ext/phar zip.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-56349@lists.php.net to get a copy of this message | ||
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);