From 43fd60983efaaf4a475ee6a0d09395611b4aa6f8 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Tue, 7 Jan 2014 00:16:57 -0500 Subject: Use '\0' for NULL in c strings. --- tests/test_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.2.3-korg