Closed graebm closed 1 month ago
Issue #: https://github.com/awslabs/aws-c-common/issues/973
Research: 6 years ago, PR https://github.com/awslabs/aws-c-event-stream/pull/5 made these constants uint32_t via a cast.
uint32_t
Description of changes: Avoid -Wuseless-cast warnings, don't cast size_t to uint32_t on 32-bit platforms.
-Wuseless-cast
size_t
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #: https://github.com/awslabs/aws-c-common/issues/973
Research: 6 years ago, PR https://github.com/awslabs/aws-c-event-stream/pull/5 made these constants
uint32_t
via a cast.Description of changes: Avoid
-Wuseless-cast
warnings, don't castsize_t
touint32_t
on 32-bit platforms.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.