Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vppinfra
/
hash.h
diff --git
a/src/vppinfra/hash.h
b/src/vppinfra/hash.h
index
36a7006
..
892b2ea
100644
(file)
--- a/
src/vppinfra/hash.h
+++ b/
src/vppinfra/hash.h
@@
-496,7
+496,7
@@
hash_set_value_bytes (hash_t * h, uword value_bytes)
_format_pair,_format_pair_arg) \
({ \
hash_t _h; \
_format_pair,_format_pair_arg) \
({ \
hash_t _h; \
-
memset (&_h, 0, sizeof (_h));
\
+
clib_memset (&_h, 0, sizeof (_h));
\
_h.user = (_user); \
_h.key_sum = (hash_key_sum_function_t *) (_key_sum); \
_h.key_equal = (_key_equal); \
_h.user = (_user); \
_h.key_sum = (hash_key_sum_function_t *) (_key_sum); \
_h.key_equal = (_key_equal); \