From 8a6500c539a1c253cb864f0b2665f66611ebfbd3 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 11 Nov 2014 00:03:04 +0000 Subject: Fix warnings --- amiga/tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amiga/tree.c') diff --git a/amiga/tree.c b/amiga/tree.c index c8e6806d4..7bc347ea1 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -359,7 +359,7 @@ static void ami_tree_draw(struct treeview_window *twin) */ static void ami_tree_scroll_visible(int y, int height, void *data) { - ULONG sy, scrollset; + int sy, scrollset; struct IBox *bbox; struct treeview_window *twin = data; @@ -1041,7 +1041,7 @@ BOOL ami_tree_event(struct treeview_window *twin) case SELECTUP: if(twin->mouse_state & BROWSER_MOUSE_PRESS_1) { - CurrentTime(&curtime.tv_sec,&curtime.tv_usec); + CurrentTime((ULONG *)&curtime.tv_sec, (ULONG *)&curtime.tv_usec); twin->mouse_state = BROWSER_MOUSE_CLICK_1; @@ -1076,7 +1076,7 @@ BOOL ami_tree_event(struct treeview_window *twin) case MIDDLEUP: if(twin->mouse_state & BROWSER_MOUSE_PRESS_2) { - CurrentTime(&curtime.tv_sec,&curtime.tv_usec); + CurrentTime((ULONG *)&curtime.tv_sec, (ULONG *)&curtime.tv_usec); twin->mouse_state = BROWSER_MOUSE_CLICK_2; -- cgit v1.2.3