diff --git a/include/sysapp/launch.h b/include/sysapp/launch.h index f281771..4d5ec74 100644 --- a/include/sysapp/launch.h +++ b/include/sysapp/launch.h @@ -12,7 +12,7 @@ extern "C" { #endif void -SYSRelaunchTitle(uint32_t argc, +SYSRelaunchTitle(uint32_t argc, char *pa_Argv[]); void diff --git a/src/crt/newlib.c b/src/crt/newlib.c index 6ebeeb3..6ad42db 100644 --- a/src/crt/newlib.c +++ b/src/crt/newlib.c @@ -15,8 +15,8 @@ static OSMutex sMallocMutex; static uint8_t *sHeapBase = NULL; -static uint32_t sHeapMaxSize = NULL; -static volatile uint32_t sHeapSize = NULL; +static uint32_t sHeapMaxSize = 0; +static volatile uint32_t sHeapSize = 0; void __init_wut_newlibc();