summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pocl/uint.patch
blob: 1a620cd90102df6092cc87cf0f5fd38ac7e93f60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/CL/clCreateSubDevices.c
+++ b/lib/CL/clCreateSubDevices.c
@@ -46,7 +46,7 @@
    cl_device_id *new_devs = NULL;
    // number of elements in (copies of) properties, including terminating null
    cl_uint num_props = 0;
-   uint i;
+   cl_uint i;
 
    POCL_GOTO_ERROR_COND((in_device == NULL), CL_INVALID_DEVICE);
    POCL_GOTO_ERROR_COND((properties == NULL), CL_INVALID_VALUE);