diff options
Diffstat (limited to 'auto_tests/TCP_test.c')
-rw-r--r-- | auto_tests/TCP_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/TCP_test.c b/auto_tests/TCP_test.c index 98edc357..2efed98f 100644 --- a/auto_tests/TCP_test.c +++ b/auto_tests/TCP_test.c | |||
@@ -522,7 +522,7 @@ END_TEST | |||
522 | 522 | ||
523 | #include "../toxcore/TCP_connection.h" | 523 | #include "../toxcore/TCP_connection.h" |
524 | 524 | ||
525 | _Bool tcp_data_callback_called; | 525 | bool tcp_data_callback_called; |
526 | static int tcp_data_callback(void *object, int id, const uint8_t *data, uint16_t length, void *userdata) | 526 | static int tcp_data_callback(void *object, int id, const uint8_t *data, uint16_t length, void *userdata) |
527 | { | 527 | { |
528 | if (object != (void *)120397) { | 528 | if (object != (void *)120397) { |
@@ -631,7 +631,7 @@ START_TEST(test_tcp_connection) | |||
631 | } | 631 | } |
632 | END_TEST | 632 | END_TEST |
633 | 633 | ||
634 | _Bool tcp_oobdata_callback_called; | 634 | bool tcp_oobdata_callback_called; |
635 | static int tcp_oobdata_callback(void *object, const uint8_t *public_key, unsigned int id, const uint8_t *data, | 635 | static int tcp_oobdata_callback(void *object, const uint8_t *public_key, unsigned int id, const uint8_t *data, |
636 | uint16_t length, void *userdata) | 636 | uint16_t length, void *userdata) |
637 | { | 637 | { |