From 700accb3c78eb919d9c05eacad12cf3cbdb1a8a5 Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 9 Oct 2018 01:00:19 +0000 Subject: Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`. --- testing/misc_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/misc_tools.h') diff --git a/testing/misc_tools.h b/testing/misc_tools.h index e7060551..b9c3ca3e 100644 --- a/testing/misc_tools.h +++ b/testing/misc_tools.h @@ -15,7 +15,7 @@ void c_sleep(uint32_t x); uint8_t *hex_string_to_bin(const char *hex_string); void to_hex(char *out, uint8_t *in, int size); int tox_strncasecmp(const char *s1, const char *s2, size_t n); -int cmdline_parsefor_ipv46(int argc, char **argv, uint8_t *ipv6enabled); +int cmdline_parsefor_ipv46(int argc, char **argv, bool *ipv6enabled); void print_debug_log(Tox *m, Tox_Log_Level level, const char *file, uint32_t line, const char *func, const char *message, void *user_data); -- cgit v1.2.3