projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: valgrind complains about something here...
[proxmark3-svn]
/
zlib
/
inflate.c
diff --git
a/zlib/inflate.c
b/zlib/inflate.c
index 4e9c07ce5424829aebdb3eb6d9e599d57da734a7..3a945f3ce69168c144dc68e37a9136b20b0b389c 100644
(file)
--- a/
zlib/inflate.c
+++ b/
zlib/inflate.c
@@
-1523,7
+1523,8
@@
z_streamp strm;
{
struct inflate_state FAR *state;
{
struct inflate_state FAR *state;
- if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
+ if (strm == Z_NULL || strm->state == Z_NULL)
+ return (long)(((unsigned long)0 - 1) << 16);
state = (struct inflate_state FAR *)strm->state;
return ((long)(state->back) << 16) +
(state->mode == COPY ? state->length :
state = (struct inflate_state FAR *)strm->state;
return ((long)(state->back) << 16) +
(state->mode == COPY ? state->length :
Impressum
,
Datenschutz