Merge pull request #2073 from matrix/opencl_compiler_warning_1

fix OpenCL compiler warning
This commit is contained in:
Jens Steube
2019-06-21 21:29:54 +02:00
committed by GitHub

View File

@@ -1425,7 +1425,7 @@ DECLSPEC float hc_get_entropy (const u32 *buf, const int elems)
{
const int length = elems * 4;
float entropy = 0.0;
float entropy = 0.0f;
#ifdef _unroll
#pragma unroll