summaryrefslogtreecommitdiff
path: root/toxcore/util.c
diff options
context:
space:
mode:
authorMarc Schütz <schuetzm@gmx.net>2014-06-10 20:54:48 +0200
committerMarc Schütz <schuetzm@gmx.net>2014-06-10 20:54:48 +0200
commit99d594014014a37fdee9e83575a8895400c9cd60 (patch)
tree55152fcfb850511b17ae2af9c77bf30778b465d2 /toxcore/util.c
parent8bdf487d199b82db85883b613e86deeba15f9b32 (diff)
Const correctness in various interdependent files
Diffstat (limited to 'toxcore/util.c')
-rw-r--r--toxcore/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/util.c b/toxcore/util.c
index e3bfac4c..969ee704 100644
--- a/toxcore/util.c
+++ b/toxcore/util.c
@@ -86,7 +86,7 @@ void host_to_net(uint8_t *num, uint16_t numbytes)
86 86
87/* state load/save */ 87/* state load/save */
88int load_state(load_state_callback_func load_state_callback, void *outer, 88int load_state(load_state_callback_func load_state_callback, void *outer,
89 uint8_t *data, uint32_t length, uint16_t cookie_inner) 89 const uint8_t *data, uint32_t length, uint16_t cookie_inner)
90{ 90{
91 if (!load_state_callback || !data) { 91 if (!load_state_callback || !data) {
92#ifdef DEBUG 92#ifdef DEBUG