From c8331e451ab2585513f38bcb3ed8318974a39901 Mon Sep 17 00:00:00 2001 From: neoraider Date: Wed, 31 Oct 2007 23:31:01 +0000 Subject: [PATCH] zoom: Fixed some warnings with -Wall --- zoom-bin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zoom-bin.c b/zoom-bin.c index 5bf5dac..52332c2 100644 --- a/zoom-bin.c +++ b/zoom-bin.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include @@ -25,7 +25,6 @@ void GLXinit(); void GLXinit() { char *str = "Zoom"; XTextProperty name; - XWMHints wmhints; XSizeHints shints; XClassHint chint; XVisualInfo *vi; @@ -150,7 +149,7 @@ int main() { frames++; tocks += delta*1000; if(tocks > 1000000) { - fprintf(stderr, "%u\n", frames); + fprintf(stderr, "%lu\n", frames); frames = 0; tocks -= 1000000; }