Add explicit types to NB kernel type enums
[alexxy/gromacs.git] / src / gromacs / nbnxm / nbnxm_gpu.h
index 00e7ae11f5a1240b351033e622ba615314957eab..600bd20a62d7e27165604de21e2a6d6efd8b6298 100644 (file)
@@ -76,7 +76,7 @@ class StepWorkload;
  *  nbnxn_cuda.cu by the nb_*_kfunc_ptr function pointer table
  *  should match the order of enumerated types below.
  */
-enum eelType
+enum eelType : int
 {
     eelTypeCUT,
     eelTypeRF,
@@ -96,7 +96,7 @@ enum eelType
  * nbnxn_cuda_ocl.cpp/.cu by the nb_*_kfunc_ptr function pointer table
  * should match the order of enumerated types below.
  */
-enum evdwType
+enum evdwType : int
 {
     evdwTypeCUT,
     evdwTypeCUTCOMBGEOM,