--- gimp-2.6.7/app/paint-funcs/scale-region.c	2009-06-26 07:25:59.000000000 +0200
+++ app/paint-funcs/scale-region.c	2009-08-22 15:24:16.000000000 +0200
@@ -510,7 +510,7 @@ scale (TileManager           *srcTM,
         {
           guchar  *pixel = row;
           gdouble  yfrac = (y + 0.5) * scaley - 0.5;
-          gint     sy    = (gint) yfrac;
+          gint     sy    = floor(yfrac);
           gint     x;
 
           yfrac = yfrac - sy;
@@ -518,7 +518,7 @@ scale (TileManager           *srcTM,
           for (x = region.x; x < x1; x++)
             {
               gdouble xfrac = (x + 0.5) * scalex - 0.5;
-              gint    sx    = (gint) xfrac;
+              gint    sx    = floor(xfrac);
 
               xfrac = xfrac - sx;
 
