mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
Make k unsigned.
This commit is contained in:
@@ -479,7 +479,7 @@ std::vector<GpuContext> getAMDDevices(int index)
|
||||
return ctxVec;
|
||||
}
|
||||
|
||||
for (int k = 0; k < num_devices; k++)
|
||||
for (size_t k = 0; k < num_devices; k++)
|
||||
{
|
||||
std::vector<char> devVendorVec(1024);
|
||||
if((clStatus = clGetDeviceInfo(device_list[k], CL_DEVICE_VENDOR, devVendorVec.size(), devVendorVec.data(), NULL)) != CL_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user