diff --git a/opencl/amdocl/cl_gl.cpp b/opencl/amdocl/cl_gl.cpp index b09e0d3b27..7d87809fa0 100644 --- a/opencl/amdocl/cl_gl.cpp +++ b/opencl/amdocl/cl_gl.cpp @@ -1353,7 +1353,7 @@ static GLenum clChannelDataTypeToGlType(cl_channel_type channel_type) { case CL_UNORM_SHORT_565: case CL_UNORM_SHORT_555: default: - guarantee(false && "Unexpected CL type."); + guarantee(false, "Unexpected CL type."); return 0; } } @@ -1379,7 +1379,7 @@ static GLenum glInternalFormatToGlFormat(GLenum internalFormat) { return GL_RGBA_INTEGER; default: - guarantee(false && "Unexpected GL internal format."); + guarantee(false, "Unexpected GL internal format."); return 0; } }