summaryrefslogtreecommitdiff
path: root/lib/hitomezashi_utils.c
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-06-11 15:43:23 +0000
committeruntir_l <87096069+untir-l@users.noreply.github.com>2022-06-11 15:49:12 +0000
commit2aa35e2c108f954949ec001f1e33846379e7cc98 (patch)
tree1653252d1419d01b7347a70f47416ae45d4fb2c4 /lib/hitomezashi_utils.c
parente0babc53b16ef49ff40db21bbc4326e6e23185fa (diff)
downloadhitomezashi-2aa35e2c108f954949ec001f1e33846379e7cc98.tar
hitomezashi-2aa35e2c108f954949ec001f1e33846379e7cc98.tar.gz
hitomezashi-2aa35e2c108f954949ec001f1e33846379e7cc98.zip
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.
Diffstat (limited to 'lib/hitomezashi_utils.c')
-rw-r--r--lib/hitomezashi_utils.c2
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]) {