summaryrefslogtreecommitdiffstats
path: root/zoom-bin.c
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-11-01 00:31:01 +0100
committerneoraider <devnull@localhost>2007-11-01 00:31:01 +0100
commitc8331e451ab2585513f38bcb3ed8318974a39901 (patch)
tree5edae163a47587c2b9550039d00c1f75c3379b45 /zoom-bin.c
parent6a92bd8d25b6eb0a1dd4f3d5ddfc07438985310d (diff)
downloadzoom-c8331e451ab2585513f38bcb3ed8318974a39901.tar
zoom-c8331e451ab2585513f38bcb3ed8318974a39901.zip
zoom: Fixed some warnings with -Wall
Diffstat (limited to 'zoom-bin.c')
-rw-r--r--zoom-bin.c5
1 files 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 <X11/keysym.h>
#include <GL/gl.h>
#include <GL/glx.h>
-#include <time.h>
+#include <sys/time.h>
#include <zoom/init.h>
#include <zoom/render.h>
#include <zoom/player.h>
@@ -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;
}