From 787c728cb003d15196778bcd3a4fbc1b752014e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 11 Nov 1997 02:58:37 +0100
Subject: [PATCH] Added cast to avoid warning.

Rev: src/modules/Image/blit.c:1.18
---
 src/modules/Image/blit.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/Image/blit.c b/src/modules/Image/blit.c
index caeff1fefb..c3749fa8db 100644
--- a/src/modules/Image/blit.c
+++ b/src/modules/Image/blit.c
@@ -1,10 +1,10 @@
-/* $Id: blit.c,v 1.17 1997/11/06 19:25:50 mirar Exp $ */
+/* $Id: blit.c,v 1.18 1997/11/11 01:58:37 grubba Exp $ */
 #include "global.h"
 
 /*
 **! module Image
 **! note
-**!	$Id: blit.c,v 1.17 1997/11/06 19:25:50 mirar Exp $
+**!	$Id: blit.c,v 1.18 1997/11/11 01:58:37 grubba Exp $
 **! class image
 */
 
@@ -778,7 +778,7 @@ void image_add_layers(INT32 args)
 	    free(layer);
 	    error("Illegal array contents, layer %d (argument %d) (illegal method) to image->add_layers()\n",layers-i,args-i+1);
 	 }
-	 layer[j].method=a->item[3].u.integer;
+	 layer[j].method=(enum layer_method)a->item[3].u.integer;
       }
       else
 	 layer[j].method=LAYER_NOP;
-- 
GitLab