Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: third_party/zlib/uncompr.c

Issue 2084863002: Update Zlib to version 1.2.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/trees.c ('k') | third_party/zlib/zconf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/uncompr.c
diff --git a/third_party/zlib/uncompr.c b/third_party/zlib/uncompr.c
index ad98be3a5d88afd479d3442cd234747ca259c60d..242e9493dff5c26d7f06104b6dd1ca22d8201215 100644
--- a/third_party/zlib/uncompr.c
+++ b/third_party/zlib/uncompr.c
@@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, source, sourceLen)
z_stream stream;
int err;
- stream.next_in = (Bytef*)source;
+ stream.next_in = (z_const Bytef *)source;
stream.avail_in = (uInt)sourceLen;
/* Check for source > 64K on 16-bit machine: */
if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
« no previous file with comments | « third_party/zlib/trees.c ('k') | third_party/zlib/zconf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698