diff options
Diffstat (limited to 'src/afc.c')
-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 | ||