diff --git a/.gitmodules b/.gitmodules index a580a90..b908527 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "milepost"] path = milepost url = git@git.handmade.network:MartinFouilleul/milepost.git + branch = main diff --git a/src/main.c b/src/main.c index ce29e5d..1f97ab9 100644 --- a/src/main.c +++ b/src/main.c @@ -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,