Mercurial > hg > dmlib
diff tests/testdmzlib.c @ 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 | e98bc627ad08 |
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,