[PATCH 8/8] wmfortune: Use short unsigned int for dockapp dimensions.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
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 [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.