diff options
-rw-r--r-- | src/afc.c | 2 | ||||
-rw-r--r-- | tools/ideviceprovision.c | 2 | ||||
-rw-r--r-- | tools/idevicesyslog.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -355,7 +355,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **bytes, uint32_t /** * Returns counts of null characters within a string. */ -static uint32_t count_nullspaces(char *string, uint32_t number) +static uint32_t count_nullspaces(const char *string, uint32_t number) { uint32_t i = 0, nulls = 0; diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c index 1dee899..754b84d 100644 --- a/tools/ideviceprovision.c +++ b/tools/ideviceprovision.c @@ -106,7 +106,7 @@ static void asn1_next_item(unsigned char** p) } } -static size_t asn1_item_get_size(unsigned char* p) +static size_t asn1_item_get_size(const unsigned char* p) { size_t res = 0; char bsize = *(p+1); diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 4eb1605..44dd5ba 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c @@ -119,7 +119,7 @@ static void add_filter(const char* filterstr) } } -static int find_char(char c, char** p, char* end) +static int find_char(char c, char** p, const char* end) { while ((**p != c) && (*p < end)) { (*p)++; |