Index: /trunk/psLib/src/math/psPolynomialUtils.c
===================================================================
--- /trunk/psLib/src/math/psPolynomialUtils.c	(revision 7540)
+++ /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);
Index: /trunk/psLib/src/math/psPolynomialUtils.h
===================================================================
--- /trunk/psLib/src/math/psPolynomialUtils.h	(revision 7540)
+++ /trunk/psLib/src/math/psPolynomialUtils.h	(revision 7541)
@@ -29,5 +29,5 @@
 // fit a 2D 2nd order polynomial to the 9 pixels centered on (x,y)
 psPolynomial2D *psImageBicubeFit(const psImage *image, // Image to fit
-                                 long x, long y // Pixels of centre of fit
+                                 int x, int y // Pixels of centre of fit
                                 );
 
