diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h
index f3692095334f986a0589b656297f49f7e12ddafe..bb7dc4998c4519c983a4b5ca0567a629472f0f79 100644
--- a/src/xpdev/genwrap.h
+++ b/src/xpdev/genwrap.h
@@ -365,7 +365,7 @@ DLLEXPORT char*		os_cmdshell(void);
 DLLEXPORT char*		lastchar(const char* str);
 DLLEXPORT int		safe_snprintf(char *dst, size_t size, const char *fmt, ...)
 #if defined(__GNUC__)   // Catch printf-format errors
-    __attribute__ ((format (printf, 3 , 4)));            // 1 is 'this'
+    __attribute__ ((format (printf, 3 , 4)))            // 1 is 'this'
 #endif
 ;