toolchain: xpcg: update fx path api usage

This commit is contained in:
2026-07-19 13:33:05 +01:00
parent 7c2f59c7b1
commit 59034be9e6
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -86,11 +86,8 @@ static int xpcg(
}
fx_file *file = NULL;
fx_result result = fx_file_open(
NULL,
FX_RV_PATH(path),
FX_FILE_READ_ONLY,
&file);
fx_result result
= fx_file_open(NULL, FX_CSTR(path), FX_FILE_READ_ONLY, &file);
if (fx_result_is_error(result)) {
fx_throw(result);
return -1;