Index: openmp/trunk/libomptarget/deviceRTLs/nvptx/src/debug.h =================================================================== --- openmp/trunk/libomptarget/deviceRTLs/nvptx/src/debug.h +++ openmp/trunk/libomptarget/deviceRTLs/nvptx/src/debug.h @@ -159,7 +159,7 @@ // implement #if OMPTARGET_NVPTX_DEBUG -#define DON(_flag) ((OMPTARGET_NVPTX_DEBUG) & (_flag)) +#define DON(_flag) ((unsigned)(OMPTARGET_NVPTX_DEBUG) & (_flag)) #define PRINT0(_flag, _str) \ { \