summaryrefslogtreecommitdiff
path: root/src/gui_xmebw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r--src/gui_xmebw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index fbe0ba99b..d63cf5a42 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -346,8 +346,8 @@ set_pixmap(XmEnhancedButtonWidget eb)
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;