X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=zlib%2Finfback.c;h=59679ecbfc5d778ca85d9ced87565f69bcb4635c;hb=7ab967941150b2f79fc089893bf51e6bb53d245b;hp=f3833c2e434a560b41325d0001c9c4ff0d5d1279;hpb=da09a436519e8085d328a586c438b5b0a560924d;p=deliverable%2Fbinutils-gdb.git diff --git a/zlib/infback.c b/zlib/infback.c index f3833c2e43..59679ecbfc 100644 --- a/zlib/infback.c +++ b/zlib/infback.c @@ -1,5 +1,5 @@ /* infback.c -- inflate using a call-back interface - * Copyright (C) 1995-2011 Mark Adler + * Copyright (C) 1995-2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -61,7 +61,7 @@ int stream_size; Tracev((stderr, "inflate: allocated\n")); strm->state = (struct internal_state FAR *)state; state->dmax = 32768U; - state->wbits = windowBits; + state->wbits = (uInt)windowBits; state->wsize = 1U << windowBits; state->window = window; state->wnext = 0;