1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

ocl: use same type convention for nfactor (cl_uint instead of int).

This commit is contained in:
Noel Maersk 2014-02-24 16:18:12 +02:00
parent 3640f1494f
commit ab9fcb1a14

2
ocl.c
View File

@ -225,7 +225,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
cl_uint numPlatforms;
cl_uint numDevices;
cl_int status;
int nfactor = (1<<opt_nfactor);
cl_uint nfactor = (1<<opt_nfactor);
status = clGetPlatformIDs(0, NULL, &numPlatforms);
if (status != CL_SUCCESS) {