From 673f3e6887586c31e3f2507c6fd021c1e2c07209 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 15 Jan 2016 19:58:24 +0000 Subject: Fix some old and new GCC errors/warnings --- amiga/drag.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'amiga/drag.c') diff --git a/amiga/drag.c b/amiga/drag.c index 7aef426d0..67d17223e 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -183,7 +183,7 @@ void ami_drag_save(struct Window *win) break; default: - LOG("Unsupported drag save operation %ld", drag_save); + LOG("Unsupported drag save operation %d", drag_save); break; } @@ -197,7 +197,6 @@ void ami_drag_icon_show(struct Window *win, const char *type) { struct DiskObject *dobj = NULL; ULONG width, height; - int err; int deftype = WBPROJECT; drag_in_progress = TRUE; @@ -218,7 +217,7 @@ void ami_drag_icon_show(struct Window *win, const char *type) ICONGETA_GetDefaultType, deftype, TAG_DONE); - err = IconControl(dobj, + IconControl(dobj, ICONCTRLA_GetWidth,&width, ICONCTRLA_GetHeight,&height, TAG_DONE); -- cgit v1.2.3