From ea4b9ec5c88fce4b2fafc3079c619eaa5cbd1a71 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 24 Feb 2017 22:42:34 -0500 Subject: [PATCH] wmfortune: Use short unsigned int for dockapp dimensions. Avoids incompatible pointer type warnings. --- wmfortune/wmfortune.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wmfortune/wmfortune.c b/wmfortune/wmfortune.c index a32c380..80e0711 100644 --- a/wmfortune/wmfortune.c +++ b/wmfortune/wmfortune.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "XPM/panel.xpm" #include "XPM/panel_button_pressed.xpm" @@ -145,7 +146,7 @@ main(int argc, char **argv) { Pixmap panel_window_pixmap; - int w = 64, h = 64; + short unsigned int w = 64, h = 64; DACallbacks callbacks = {NULL,buttonPressCallback ,buttonReleaseCallback,NULL,NULL,NULL,NULL};