Index: trunk/psLib/src/image/psImageManip.c
===================================================================
--- trunk/psLib/src/image/psImageManip.c	(revision 2860)
+++ trunk/psLib/src/image/psImageManip.c	(revision 2861)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-03 21:58:53 $
+ *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-03 22:02:35 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -676,5 +676,5 @@
     }
     // put the angle in the range of 0...2PI.
-    angle = angle - (2.0*PS_PI) * floor(angle / (2.0*PS_PI));
+    angle = (float)((double)angle - (2.0*PS_PI) * floor(angle / (2.0*PS_PI)));
 
     if (fabsf(angle - PS_PI_2) < FLT_EPSILON) {
