aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/phash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/phash.c')
-rw-r--r--src/vppinfra/phash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/phash.c b/src/vppinfra/phash.c
index f6eecaa4103..52c29b33f78 100644
--- a/src/vppinfra/phash.c
+++ b/src/vppinfra/phash.c
@@ -605,7 +605,7 @@ perfect (phash_main_t * pm)
/* clear any state from previous attempts */
if (vec_bytes (pm->tabh))
- memset (pm->tabh, ~0, vec_bytes (pm->tabh));
+ clib_memset (pm->tabh, ~0, vec_bytes (pm->tabh));
vec_validate (pm->tabb_sort, vec_len (pm->tabb) - 1);
for (i = 0; i < vec_len (pm->tabb_sort); i++)