diff options
author | Marc Schütz <schuetzm@gmx.net> | 2014-06-10 20:54:48 +0200 |
---|---|---|
committer | Marc Schütz <schuetzm@gmx.net> | 2014-06-10 20:54:48 +0200 |
commit | 99d594014014a37fdee9e83575a8895400c9cd60 (patch) | |
tree | 55152fcfb850511b17ae2af9c77bf30778b465d2 /toxcore/ping_array.h | |
parent | 8bdf487d199b82db85883b613e86deeba15f9b32 (diff) |
Const correctness in various interdependent files
Diffstat (limited to 'toxcore/ping_array.h')
-rw-r--r-- | toxcore/ping_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/ping_array.h b/toxcore/ping_array.h index c5811b16..364ad833 100644 --- a/toxcore/ping_array.h +++ b/toxcore/ping_array.h | |||
@@ -48,7 +48,7 @@ typedef struct { | |||
48 | * return ping_id on success. | 48 | * return ping_id on success. |
49 | * return 0 on failure. | 49 | * return 0 on failure. |
50 | */ | 50 | */ |
51 | uint64_t ping_array_add(Ping_Array *array, uint8_t *data, uint32_t length); | 51 | uint64_t ping_array_add(Ping_Array *array, const uint8_t *data, uint32_t length); |
52 | 52 | ||
53 | /* Check if ping_id is valid and not timed out. | 53 | /* Check if ping_id is valid and not timed out. |
54 | * | 54 | * |