diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/ideviceprovision.c | 2 | ||||
| -rw-r--r-- | tools/idevicesyslog.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) | |||
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | static size_t asn1_item_get_size(unsigned char* p) | 109 | static size_t asn1_item_get_size(const unsigned char* p) |
| 110 | { | 110 | { |
| 111 | size_t res = 0; | 111 | size_t res = 0; |
| 112 | char bsize = *(p+1); | 112 | 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) | |||
| 119 | } | 119 | } |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | static int find_char(char c, char** p, char* end) | 122 | static int find_char(char c, char** p, const char* end) |
| 123 | { | 123 | { |
| 124 | while ((**p != c) && (*p < end)) { | 124 | while ((**p != c) && (*p < end)) { |
| 125 | (*p)++; | 125 | (*p)++; |
