diff options
Diffstat (limited to 'lib/hitomezashi_utils.c')
-rw-r--r-- | lib/hitomezashi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hitomezashi_utils.c b/lib/hitomezashi_utils.c index 32832de..93ec850 100644 --- a/lib/hitomezashi_utils.c +++ b/lib/hitomezashi_utils.c @@ -3,7 +3,7 @@ #include <stddef.h> #include <stdlib.h> -char *hitomezashi_ascii_binary_str_to_ints(char *ascii_str, size_t len) { +char *hitomezashi_ascii_binary_str_to_ints(const char *ascii_str, size_t len) { char *res = malloc(len); for (int i = 0; i < len; ++i) { switch (ascii_str[i]) { |