Fix wrong return type from function definition

This commit is contained in:
Peter Hill 2024-03-15 16:21:08 +00:00
parent 5973f3d683
commit c35644aa10
No known key found for this signature in database
GPG Key ID: 0C6B9742E72848EE

View File

@ -1762,13 +1762,13 @@ fetch command.
\retval the HTTP code
*/
OCerror
int
oc_httpcode(OCobject link)
{
OCstate* state;
OCVERIFY(OC_State,link);
OCDEREF(OCstate*,state,link);
return state->error.httpcode;
return (int)state->error.httpcode;
}
/**************************************************/