ota_demo_core_http: Fix a -Wenum-conversion build warning
Fix the following -Wenum-conversion build warning:
warning: implicit conversion from enumeration type 'enum HTTPStatus' to
different enumeration type 'OtaHttpStatus_t' (aka 'enum OtaHttpStatus')
[-Wenum-conversion]
ret = HTTPSuccess;
~ ^~~~~~~~~~~
@@ -1613,7 +1613,7 @@ static OtaHttpStatus_t httpRequest( uint32_t rangeStart,
/* Try establishing connection to S3 server again. */
if( connectToS3Server( &networkContextHttp, NULL ) == EXIT_SUCCESS )
{
- ret = HTTPSuccess;
+ ret = OtaHttpSuccess;
}
else
{
