summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_mheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_mheap.c')
-rw-r--r--src/vppinfra/test_mheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test_mheap.c b/src/vppinfra/test_mheap.c
index 6bc36b89ac3..b48e5273651 100644
--- a/src/vppinfra/test_mheap.c
+++ b/src/vppinfra/test_mheap.c
@@ -110,7 +110,7 @@ test_mheap_main (unformat_input_t * input)
max_object_size, seed);
vec_resize (objects, n_objects);
- if (vec_bytes (objects)) /* stupid warning be gone */
+ if (vec_bytes (objects) > 0) /* stupid warning be gone */
memset (objects, ~0, vec_bytes (objects));
objects_used = 0;