silence clang warning on const qualifiers

This commit is contained in:
Martin Fouilleul 2023-06-20 10:26:28 +02:00
parent 19c82cfe14
commit 93ee157da0
2 changed files with 3 additions and 2 deletions

1
.gitmodules vendored
View File

@ -1,3 +1,4 @@
[submodule "milepost"]
path = milepost
url = git@git.handmade.network:MartinFouilleul/milepost.git
branch = main

View File

@ -322,7 +322,7 @@ void* orca_runloop(void* user)
{
log_error("Couldn't load wasm module at %s\n", modulePathCString);
char* options[] = {"OK"};
const char* options[] = {"OK"};
mp_alert_popup("Error",
"The application couldn't load: web assembly module not found",
1,
@ -371,7 +371,7 @@ void* orca_runloop(void* user)
log_error("wasm error: %s\n", errInfo.message);
char* options[] = {"OK"};
const char* options[] = {"OK"};
mp_alert_popup("Error",
"The application couldn't load: can't compile web assembly module",
1,