diff options
author | irungentoo <irungentoo@gmail.com> | 2014-06-15 10:29:13 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-06-15 10:29:13 -0400 |
commit | a38d962b040e06ebe986e59e4c53843dc5fbbfab (patch) | |
tree | 487e6892ca1b10444b98d128bddd18282c17a86b /toxcore/network.h | |
parent | 1a3d45f83dd935360036fb71530c16a06a028834 (diff) | |
parent | 4940c4c62b6014d1f0586aa6aca7bf6e4ecfcf29 (diff) |
Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Core into schuetzm-const_correctness
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index e5c24a2d..359d26c8 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -270,7 +270,7 @@ int addr_resolve_or_parse_ip(const char *address, IP *to, IP *extra); | |||
270 | * Packet data is put into data. | 270 | * Packet data is put into data. |
271 | * Packet length is put into length. | 271 | * Packet length is put into length. |
272 | */ | 272 | */ |
273 | typedef int (*packet_handler_callback)(void *object, IP_Port ip_port, uint8_t *data, uint32_t len); | 273 | typedef int (*packet_handler_callback)(void *object, IP_Port ip_port, const uint8_t *data, uint32_t len); |
274 | 274 | ||
275 | typedef struct { | 275 | typedef struct { |
276 | packet_handler_callback function; | 276 | packet_handler_callback function; |