aboutsummaryrefslogtreecommitdiff
path: root/emcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'emcc.c')
-rw-r--r--emcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc.c b/emcc.c
index dbb4ab9..563fbe2 100644
--- a/emcc.c
+++ b/emcc.c
@@ -787,7 +787,7 @@ struct savefile_write_ctx {
size_t pos;
};
-static void savefile_write(void *vctx, void *buf, int len)
+static void savefile_write(void *vctx, const void *buf, int len)
{
struct savefile_write_ctx *ctx = (struct savefile_write_ctx *)vctx;
if (ctx->buffer)