View | Details | Raw Unified | Return to bug 202958
Collapse All | Expand All

(-)www/varnish4/files/patch-lib__libvgz__inflate.c (+11 lines)
Line 0 Link Here
1
--- lib/libvgz/inflate.c.orig	2015-02-18 15:14:11.000000000 +0100
2
+++ lib/libvgz/inflate.c	2015-09-07 23:19:41.904166000 +0200
3
@@ -1510,7 +1510,7 @@ z_streamp strm;
4
 {
5
     struct inflate_state FAR *state;
6
 
7
-    if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
8
+    if (strm == Z_NULL || strm->state == Z_NULL) return -(1L << 16);
9
     state = (struct inflate_state FAR *)strm->state;
10
     return ((long)(state->back) << 16) +
11
         (state->mode == COPY ? state->length :

Return to bug 202958