summaryrefslogtreecommitdiffstats
path: root/src/tools/g2
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/g2')
-rw-r--r--src/tools/g2/view1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/g2/view1.c b/src/tools/g2/view1.c
index a4190cb1f27..9c86fcdcec4 100644
--- a/src/tools/g2/view1.c
+++ b/src/tools/g2/view1.c
@@ -1636,7 +1636,7 @@ static void init_track_colors(void)
if (s_color != NULL ) {
gdk_colormap_free_colors(gtk_widget_get_colormap(da),
s_color, g_npids);
- memset(s_color, 0, sizeof(GdkColor) * g_npids);
+ clib_memset(s_color, 0, sizeof(GdkColor) * g_npids);
} else {
/*
* First time through: allocate the array to hold the GCs.