Diff
Not logged in

Differences From:

File src/zip.c part of check-in [5fb14b9a0f] - Include non-sym- tags in tagview web page. Also merge mainline into tagview branch. by eric on 2008-08-21 20:59:01. Also file src/zip.c part of check-in [81a96aadf3] - Change CGI parameter name rid to uuid for the /zip URL. by cle on 2008-08-17 11:37:15. [view]

To:

File src/zip.c part of check-in [7ae01ee47b] - fixed an 'integer overflow' warning from the Sun compiler. Thank to Kevin for the tip. by stephan on 2008-09-19 11:11:01. [view]

@@ -195,9 +195,9 @@
   put16(&zBuf[30], 0);
   put16(&zBuf[32], 0);
   put16(&zBuf[34], 1);
   put16(&zBuf[36], 0);
-  put32(&zBuf[38], (0100000 | 0644)<<16);
+  put32(&zBuf[38], ((unsigned)(0100000 | 0644))<<16);
   put32(&zBuf[42], iStart);
   blob_append(&toc, zBuf, 46);
   blob_append(&toc, zName, nameLen);
   nEntry++;