Mercurial > hg > dmlib
diff tests/testdmzlib.c @ 1170:ef5a9c51569c
Use dmMemset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Mar 2015 07:49:33 +0200 |
parents | d0898867ec4c |
children |
line wrap: on
line diff
--- a/tests/testdmzlib.c Thu Mar 05 07:47:42 2015 +0200 +++ b/tests/testdmzlib.c Thu Mar 05 07:49:33 2015 +0200 @@ -179,7 +179,7 @@ dmMsg(0, "Operating mode: %s\n", compress ? "compress" : "decompress"); - memset(&zstr, 0, sizeof(zstr)); + dmMemset(&zstr, 0, sizeof(zstr)); if ((inBuffer = malloc(SET_TMPBUF_SIZE)) == NULL || (outBuffer = malloc(SET_TMPBUF_SIZE)) == NULL)