commit 2f1bf7afd55173ee3258bc781176a3ba5ee1eab2
parent 14a6ef1da341da1b406b28b5849efcc67b11ed08
Author: William Casarin <jb55@jb55.com>
Date: Tue, 22 Sep 2020 21:01:29 -0700
fix build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/serve.c b/serve.c
@@ -23,7 +23,7 @@ struct file_cache {
};
static int load_data(struct cursor *buf, const char *path,
- int *data_len, const unsigned char **data)
+ int *data_len, unsigned char **data)
{
/* TODO: better file cache */
static struct file_cache file_cache[MAX_CACHED_FILES] = {0};