changeset 1068:01114659bdd3

Oops, fix a nasty bug.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Mar 2015 02:12:47 +0200
parents b3a54ecdb86f
children b20922f4746f
files tests/testdmzlib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testdmzlib.c	Mon Mar 02 02:10:38 2015 +0200
+++ b/tests/testdmzlib.c	Mon Mar 02 02:12:47 2015 +0200
@@ -205,7 +205,7 @@
 
         if (zret == Z_OK && zstr.total_out > 0)
         {
-            outSize += zstr.total_out;
+            *outSize += zstr.total_out;
             if (fwrite(outBuffer, sizeof(Uint8), zstr.total_out, outFile) != zstr.total_out)
             {
                 ret = dmError(DMERR_FWRITE,