diff --git a/src/modules/Image/encodings/xcf.c b/src/modules/Image/encodings/xcf.c
index 6a30262f38e2f76ea672c4a5bb4e9a85ca68c9c1..b88e6d157cf2042b6510ffb665b6be50447e7c70 100644
--- a/src/modules/Image/encodings/xcf.c
+++ b/src/modules/Image/encodings/xcf.c
@@ -1,5 +1,5 @@
 #include "global.h"
-RCSID("$Id: xcf.c,v 1.22 2000/10/08 21:12:45 per Exp $");
+RCSID("$Id: xcf.c,v 1.23 2000/10/08 22:39:54 per Exp $");
 
 #include "image_machine.h"
 
@@ -1380,7 +1380,7 @@ void image_xcf_f__decode_tiles( INT32 args )
     }
     x += TILE_WIDTH;
 
-    if( x >= rxs )
+    if( (int)x >= (int)rxs )
     {
       x = 0;
       y += TILE_HEIGHT;