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 <unistd.h>
 #include <stdio.h>
+#include <string.h>
 #include <libdockapp/dockapp.h>
 #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};
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to