diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-19 15:20:50 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-19 15:20:50 -0200 |
commit | 63814639cb070e34a1aa2205ff71d64e6cc884ce (patch) | |
tree | 545072f22371ad032424f3a4b77e54a36c125232 /main.c | |
parent | 2659ac63a1b17e489cb37a44d8c26350de8c7c82 (diff) |
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
make distcheck, all gcc 4.3 and sparse warnings, and a configure
configure warning about err.h.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ int main(int argc, char **argv) XGetWindowAttributes(dpy, window.d, &a); window.format = XRenderFindVisualFormat(dpy, a.visual); window.pict = XRenderCreatePicture(dpy, window.d, - window.format, 0, 0); + window.format, 0, NULL); window.name = (char *)malloc(20); if (window.name == NULL) errx(1, "malloc error"); |