diff options
| author | 2020-12-23 17:21:03 -0800 | |
|---|---|---|
| committer | 2022-04-22 13:14:02 +0200 | |
| commit | 3de1317378cd6b2b9e747008f10dc386334a391a (patch) | |
| tree | 3cc35d18d0a0c3bf680f9b00f4d2e6fd307fb294 /src | |
| 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 'src')
| -rw-r--r-- | src/afc.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -355,7 +355,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **bytes, uint32_t | |||
| 355 | /** | 355 | /** |
| 356 | * Returns counts of null characters within a string. | 356 | * Returns counts of null characters within a string. |
| 357 | */ | 357 | */ |
| 358 | static uint32_t count_nullspaces(char *string, uint32_t number) | 358 | static uint32_t count_nullspaces(const char *string, uint32_t number) |
| 359 | { | 359 | { |
| 360 | uint32_t i = 0, nulls = 0; | 360 | uint32_t i = 0, nulls = 0; |
| 361 | 361 | ||
