summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-19 15:20:50 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-19 15:20:50 -0200
commit63814639cb070e34a1aa2205ff71d64e6cc884ce (patch)
tree545072f22371ad032424f3a4b77e54a36c125232 /main.c
parent2659ac63a1b17e489cb37a44d8c26350de8c7c82 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2cd7ce5..99d8441 100644
--- a/main.c
+++ b/main.c
@@ -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");