Index: trunk/psLib/src/imageops/psImageUnbin.c
===================================================================
--- trunk/psLib/src/imageops/psImageUnbin.c	(revision 21036)
+++ trunk/psLib/src/imageops/psImageUnbin.c	(revision 21040)
@@ -7,6 +7,6 @@
  *  @author Eugene Magnier, IfA
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-12-18 21:02:30 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-12-19 00:24:45 $
  *
  *  Copyright 2007 Institute for Astronomy, University of Hawaii
@@ -269,6 +269,6 @@
     // allow extrapolation a small distance beyond the edge of valid pixels, but no
     // further (this allows the nXskip,nYskip boundary areas to be used as well)
-    int nXedge = 0.125*in->numCols;
-    int nYedge = 0.125*in->numRows;
+    float nXedge = 0.125*in->numCols;
+    float nYedge = 0.125*in->numRows;
 
     if ((x < -nXedge) || (x > in->numCols + nXedge) || (y < -nYedge) || (y > in->numRows + nYedge)) {
