silence clang warning on const qualifiers
This commit is contained in:
parent
19c82cfe14
commit
93ee157da0
|
@ -1,3 +1,4 @@
|
||||||
[submodule "milepost"]
|
[submodule "milepost"]
|
||||||
path = milepost
|
path = milepost
|
||||||
url = git@git.handmade.network:MartinFouilleul/milepost.git
|
url = git@git.handmade.network:MartinFouilleul/milepost.git
|
||||||
|
branch = main
|
||||||
|
|
|
@ -322,7 +322,7 @@ void* orca_runloop(void* user)
|
||||||
{
|
{
|
||||||
log_error("Couldn't load wasm module at %s\n", modulePathCString);
|
log_error("Couldn't load wasm module at %s\n", modulePathCString);
|
||||||
|
|
||||||
char* options[] = {"OK"};
|
const char* options[] = {"OK"};
|
||||||
mp_alert_popup("Error",
|
mp_alert_popup("Error",
|
||||||
"The application couldn't load: web assembly module not found",
|
"The application couldn't load: web assembly module not found",
|
||||||
1,
|
1,
|
||||||
|
@ -371,7 +371,7 @@ void* orca_runloop(void* user)
|
||||||
|
|
||||||
log_error("wasm error: %s\n", errInfo.message);
|
log_error("wasm error: %s\n", errInfo.message);
|
||||||
|
|
||||||
char* options[] = {"OK"};
|
const char* options[] = {"OK"};
|
||||||
mp_alert_popup("Error",
|
mp_alert_popup("Error",
|
||||||
"The application couldn't load: can't compile web assembly module",
|
"The application couldn't load: can't compile web assembly module",
|
||||||
1,
|
1,
|
||||||
|
|
Loading…
Reference in New Issue