aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
980 stars 632 forks source link

ota_demo_core_http: Fix a -Wenum-conversion build warning #1751

Closed yiting16 closed 2 years ago

yiting16 commented 2 years ago

Issue #, if available:

Description of changes: 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;
            ~ ^~~~~~~~~~~

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

aggarg commented 2 years ago

Thank you for your contribution.