updated for version 7.0044
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index fbe0ba9..d63cf5a 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -346,8 +346,8 @@
 
     XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
 
-    if (eb->enhancedbutton.label_location == XmTOP
-	    || eb->enhancedbutton.label_location == XmBOTTOM)
+    if (eb->enhancedbutton.label_location == (int)XmTOP
+	    || eb->enhancedbutton.label_location == (int)XmBOTTOM)
 	shift = eb->primitive.shadow_thickness / 2;
     else
 	shift = eb->primitive.shadow_thickness / 2;