Index: trunk/psLib/src/math/psPolynomialUtils.c
===================================================================
--- trunk/psLib/src/math/psPolynomialUtils.c	(revision 7467)
+++ trunk/psLib/src/math/psPolynomialUtils.c	(revision 7541)
@@ -121,10 +121,10 @@
 }
 
-psPolynomial2D *psImageBicubeFit(const psImage *image, long x, long y)
+psPolynomial2D *psImageBicubeFit(const psImage *image, int x, int y)
 {
     PS_ASSERT_IMAGE_NON_NULL(image, NULL);
 
-    long ix = x - image->col0;
-    long iy = y - image->row0;
+    int ix = x - image->col0;
+    int iy = y - image->row0;
 
     PS_ASSERT_INT_WITHIN_RANGE(ix, 1, image->numCols - 1, NULL);
