diff --git a/source/script/eval.c b/source/script/eval.c index 7de4649..63f49c9 100644 --- a/source/script/eval.c +++ b/source/script/eval.c @@ -128,7 +128,7 @@ Variable_t* opToVar(Operator_t* op, Callback_SetVar_t *setCallback) { } } else { - SCRIPT_FATAL_ERR("[FATAL] Unexpected set!"); + SCRIPT_FATAL_ERR("Unexpected set!"); } return NULL; } diff --git a/source/script/scriptError.c b/source/script/scriptError.c index e85ee98..0a2d957 100644 --- a/source/script/scriptError.c +++ b/source/script/scriptError.c @@ -12,6 +12,6 @@ void printScriptError(u8 errLevel, char* message, ...) { gfx_printf("\n\n[%s] ", (errLevel == SCRIPT_FATAL) ? "FATAL" : (errLevel == SCRIPT_PARSER_FATAL) ? "PARSE_FATAL" : "WARN"); gfx_vprintf(message, args); if (errLevel < SCRIPT_WARN) - gfx_printf("\nError occured on or near line %d\n", scriptCurrentLine); + gfx_printf("\nError occured on or near line %d\n", (u32)scriptCurrentLine); va_end(args); } \ No newline at end of file