summaryrefslogtreecommitdiff
path: root/test/core/test-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/test-profile.c')
-rw-r--r--test/core/test-profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/test-profile.c b/test/core/test-profile.c
index 015d200..5338e07 100644
--- a/test/core/test-profile.c
+++ b/test/core/test-profile.c
@@ -613,7 +613,7 @@ read_and_drop_on_floor (int fd,
char *allocated;
char not_allocated[512+PAYLOAD_SIZE];
- g_assert (count < (int) sizeof(not_allocated));
+ g_assert_cmpint (count, <, (int) sizeof (not_allocated));
if (fake_malloc_overhead)
{
@@ -671,7 +671,7 @@ write_junk (int fd,
char *allocated;
char not_allocated[512+PAYLOAD_SIZE] = { '\0', };
- g_assert (count < (int) sizeof(not_allocated));
+ g_assert_cmpint (count, <, (int) sizeof (not_allocated));
if (fake_malloc_overhead)
{