From 2aa35e2c108f954949ec001f1e33846379e7cc98 Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Sat, 11 Jun 2022 21:13:23 +0530 Subject: Web: canvas now updates on the fly based on input Also some other minor changes to thw web README.md and the Makefile, and making some stuff const where they weren't throughout the lib/ tree as well. --- lib/hitomezashi_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hitomezashi_utils.c') 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 #include -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]) { -- cgit v1.2.3-57-g22cb