Deps: Avoid -1 return in rc_runtime_progress_size()

This commit is contained in:
JordanTheToaster 2024-06-29 03:07:28 +01:00 committed by Connor McLaughlin
parent 44038adaf8
commit a483aca361
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ uint32_t rc_runtime_progress_size(const rc_runtime_t* runtime, lua_State* L)
result = rc_runtime_progress_serialize_internal(&progress); result = rc_runtime_progress_serialize_internal(&progress);
if (result != RC_OK) if (result != RC_OK)
return result; return 0;
return progress.offset; return progress.offset;
} }