Homec4science

clang: fix `-Wsign-conversion` errors

Authored by Enji Cooper <yaneurabeya@gmail.com> on Mar 8 2019, 20:09.

Description

clang: fix -Wsign-conversion errors

Cast some values as their unsigned equivalents or size_t to match the
parameter type used for the template object under test. Also, provide
UInt32 equivalent delegate methods for some callers (with
int-equivalents for backwards compatibility).

This closes #2146.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>

Details

Event Timeline

Enji Cooper <yaneurabeya@gmail.com> committed R9484:3829b84e9927: clang: fix `-Wsign-conversion` errors (authored by Enji Cooper <yaneurabeya@gmail.com>).Apr 6 2019, 06:30