diff --git a/src/xpdev/xpprintf.h b/src/xpdev/xpprintf.h
index 66373f5c86f9df31073489574a84c0312b541b2b..19bf2cc08238e24b51868103ff6c40b8e16c8c94 100644
--- a/src/xpdev/xpprintf.h
+++ b/src/xpdev/xpprintf.h
@@ -24,7 +24,7 @@
 #define XP_PRINTF_TYPE_PTRDIFF		13	/* Not currently implemented */
 #define XP_PRINTF_TYPE_SIZET		14
 
-#define XP_PRINTF_CONVERT		1<<31	/* OR with type to request a conversion - Not implemented */
+#define XP_PRINTF_CONVERT		(1<<31)	/* OR with type to request a conversion - Not implemented */
 
 #if defined(__cplusplus)
 extern "C" {