Use '\0' for NULL in c strings.

This commit is contained in:
Christopher Peplin 2014-01-07 00:16:57 -05:00
parent 08ac01d130
commit 43fd60983e
1 changed files with 1 additions and 1 deletions

View File

@ -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);