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
@@ -390,7 +390,7 @@ int test_device_partition_type_support(cl_device_id parentDevice, const cl_devic
|
||||
} else {
|
||||
test_error_ret( err, "Unable to get device partition properties (1)", -1 );
|
||||
};
|
||||
for ( int i = 0; i < supportedProps.size(); i++)
|
||||
for (size_t i = 0; i < supportedProps.size(); i++)
|
||||
{
|
||||
if (supportedProps[i] == partitionType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user