Fix compiler warnings in OCL
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_ocl / nbnxn_ocl_jit_support.cpp
index 874869a2f3ad84ef65f9150f61259946f0c245c7..9c5eaebea3be366be8bf2197aaede93a8f31251c 100644 (file)
@@ -179,7 +179,7 @@ nbnxn_gpu_compile_kernels(gmx_nbnxn_ocl_t *nb)
     gmx_bool                  bFastGen = TRUE;
     cl_program                program  = nullptr;
 
-    if (getenv("GMX_OCL_NOFASTGEN") != NULL)
+    if (getenv("GMX_OCL_NOFASTGEN") != nullptr)
     {
         bFastGen = FALSE;
     }