Mercurial > hg > dmlib
diff tests/testdmzlib.c @ 1076:21b0aedb7b5c
Also initialize DMZLibContext.inBufferStart where needed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 02 Mar 2015 04:46:34 +0200 |
parents | e98bc627ad08 |
children | 8a4df37ffe13 |
line wrap: on
line diff
--- a/tests/testdmzlib.c Mon Mar 02 04:17:30 2015 +0200 +++ b/tests/testdmzlib.c Mon Mar 02 04:46:34 2015 +0200 @@ -119,7 +119,7 @@ } // Initialize decompression structures - ctx.inBuffer = inBuffer; + ctx.inBuffer = ctx.inBufferStart = inBuffer; ctx.inBufferEnd = inBuffer + *inSize; ctx.outBuffer = ctx.outBufferStart = outBuffer;