mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[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:
committed by
GitHub
parent
5297ecd673
commit
9798a96a9f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user