changeset 2312:cd266022e4a8

Use dmMemset().
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 09 Jul 2019 10:43:20 +0300
parents d0608fbd85bc
children 866e036d7706
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Tue Jul 09 10:29:04 2019 +0300
+++ b/tools/lib64gfx.c	Tue Jul 09 10:43:20 2019 +0300
@@ -246,7 +246,7 @@
     img->fmt      = fmt->format;
     img->nblocks  = dmC64ImageGetNumBlocks(fmt);
 
-    memset(img->extraInfo, 0, sizeof(img->extraInfo));
+    dmMemset(img->extraInfo, 0, sizeof(img->extraInfo));
     img->extraInfo[D64_EI_MODE] = fmt->format->mode;
 }