diff options
| author | 2020-12-23 17:21:03 -0800 | |
|---|---|---|
| committer | 2022-04-22 13:14:02 +0200 | |
| commit | 3de1317378cd6b2b9e747008f10dc386334a391a (patch) | |
| tree | 3cc35d18d0a0c3bf680f9b00f4d2e6fd307fb294 /tools/idevicesyslog.c | |
| parent | 5f382824398e088fdb68a4bd104613d58c4197f5 (diff) | |
| download | libimobiledevice-3de1317378cd6b2b9e747008f10dc386334a391a.tar.gz libimobiledevice-3de1317378cd6b2b9e747008f10dc386334a391a.tar.bz2 | |
[clang-tidy] use const pointer parameter
Found with readability-non-const-parameter
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools/idevicesyslog.c')
| -rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)++; |
