summaryrefslogtreecommitdiff
path: root/tests/lib/memset-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/memset-test.c')
-rw-r--r--tests/lib/memset-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/memset-test.c b/tests/lib/memset-test.c
index 1247577d08..2dde2b349d 100644
--- a/tests/lib/memset-test.c
+++ b/tests/lib/memset-test.c
@@ -85,7 +85,7 @@ static void test_memset_zero_size(void **state)
}
/* Expect no change in buffer after calling memset with zero size */
- memset(s->base_buffer, 0xAA, 0);
+ memset(s->base_buffer, 0xAA, (0));
assert_memory_equal(s->base_buffer, s->helper_buffer, MEMSET_BUFFER_SZ);
}