diff --git a/src/modules/Image/blit.c b/src/modules/Image/blit.c
index caeff1fefbe4abcddb469049f3978b36e96e0158..c3749fa8dbab4fc3879f9f01786b28d1f08d639a 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;