mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Fix wrong return type from function definition
This commit is contained in:
parent
5973f3d683
commit
c35644aa10
4
oc2/oc.c
4
oc2/oc.c
@ -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;
|
||||
}
|
||||
|
||||
/**************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user