projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check func against 0 rather than NULL
[deliverable/binutils-gdb.git]
/
zlib
/
uncompr.c
diff --git
a/zlib/uncompr.c
b/zlib/uncompr.c
index 8a2e1f97194f18bb537da65f9642573b5399c71e..cf2e3a0486b8135cdda058ac7f668636c736d95e 100644
(file)
--- a/
zlib/uncompr.c
+++ b/
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;
This page took
0.022828 seconds
and
4
git commands to generate.