diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 02:22:38 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-24 22:20:22 +0000 |
commit | d3b286cb434ed228e7b62cc70cb293e7a5554bfa (patch) | |
tree | 9ab3dd66f9dba2ca861ba8c6e098fb96754aa80b /toxcore/TCP_client.c | |
parent | afc80922e720f5d2a93bdfb3745da058e5ddf81b (diff) |
Fix a bunch of compiler warnings and remove suppressions.
Diffstat (limited to 'toxcore/TCP_client.c')
-rw-r--r-- | toxcore/TCP_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/TCP_client.c b/toxcore/TCP_client.c index e3f55a73..a6c32f9c 100644 --- a/toxcore/TCP_client.c +++ b/toxcore/TCP_client.c | |||
@@ -110,9 +110,9 @@ void tcp_con_set_custom_object(TCP_Client_Connection *con, void *object) | |||
110 | { | 110 | { |
111 | con->custom_object = object; | 111 | con->custom_object = object; |
112 | } | 112 | } |
113 | void tcp_con_set_custom_uint(TCP_Client_Connection *con, uint32_t uint) | 113 | void tcp_con_set_custom_uint(TCP_Client_Connection *con, uint32_t value) |
114 | { | 114 | { |
115 | con->custom_uint = uint; | 115 | con->custom_uint = value; |
116 | } | 116 | } |
117 | 117 | ||
118 | /* return 1 on success | 118 | /* return 1 on success |