wmfortune: Use short unsigned int for dockapp dimensions.

Avoids incompatible pointer type warnings.
This commit is contained in:
Doug Torrance 2017-02-24 22:42:34 -05:00 committed by Carlos R. Mafra
parent 01630fdc00
commit ea4b9ec5c8

View file

@ -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};