On Mon 24.Aug'09 at 21:46:09 +0200, Carlos R. Mafra wrote:
> 
> PS: I am not sure about the change in src/properties.c and the
> compiler warns about it. I just wanted to send this for testing...

Duh! This one on top...

diff --git a/src/properties.c b/src/properties.c
index cd70484..86544dc 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -122,7 +122,7 @@ unsigned char *PropGetCheckProperty(Window window, Atom 
hint, Atom type, int for
        if (count <= 0)
                tmp = 0xffffff;
        else
-               tmp = (long *)count;
+               tmp = (long)count;
 
        if (XGetWindowProperty(dpy, window, hint, 0L, tmp, False, type,
                               &type_ret, &fmt_ret, &nitems_ret, 
&bytes_after_ret,


-- 
To unsubscribe, send mail to [email protected].

Reply via email to