summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_send.c b/tests/test_send.c
index fecb2596..3a18ff30 100644
--- a/tests/test_send.c
+++ b/tests/test_send.c
@@ -34,7 +34,7 @@ START_TEST (test_send_empty_payload)
fail_unless(handle.completed);
ck_assert_int_eq(last_message_sent_arb_id, arbitration_id);
fail_unless(last_message_sent_status);
- ck_assert_int_eq(last_message_sent_payload[0], NULL);
+ ck_assert_int_eq(last_message_sent_payload[0], '\0');
ck_assert_int_eq(last_message_sent_payload_size, 0);
ck_assert_int_eq(last_can_frame_sent_arb_id, arbitration_id);