fixed wrong variable type in ocl.c