[NFC] Fix some sign-compare warnings (#1670)

In `os_helpers.cpp`, the preceding `if` already handles negative
values, so cast to unsigned.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2023-03-12 11:06:55 +00:00
committed by GitHub
parent 5297ecd673
commit 9798a96a9f
5 changed files with 8 additions and 10 deletions

View File

@@ -6890,7 +6890,7 @@ int main (int argc, const char* argv[])
cl_uint size_t_width = 0; // device address bits (32 or 64).
cl_int err;
int failed = 0;
int ntests = 0;
size_t ntests = 0;
custom_cout atf_info;
custom_cerr atf_error;
override_buff atf_cout(std::cout, atf_info);