Index: /trunk/psLib/test/astro/tap_psTime_01.c
===================================================================
--- /trunk/psLib/test/astro/tap_psTime_01.c	(revision 12411)
+++ /trunk/psLib/test/astro/tap_psTime_01.c	(revision 12412)
@@ -23,6 +23,6 @@
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2007-03-12 23:19:41 $
+ *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2007-03-13 00:01:37 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -127,5 +127,5 @@
 const psS32 testTime8TmSec           = 0;
 
-psS32 main(psS32 argc, char* argv[])
+int main(int argc, char* argv[])
 {
     psLogSetFormat("HLNM");
@@ -187,5 +187,5 @@
         psMemId id = psMemGetId();
         psF64 ut1Delta = psTimeGetUT1Delta(NULL, PS_IERS_B);
-        ok(isnan(ut1Delta), "psTimeGetUT1Delta(NULL, PS_IERS_B) returned NAN");
+        ok_double(ut1Delta, NAN, "psTimeGetUT1Delta(NULL, PS_IERS_B) returned NAN");
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     }
@@ -200,5 +200,5 @@
         time->leapsecond = false;
         psF64 ut1Delta = psTimeGetUT1Delta(time, PS_IERS_B);
-        ok(isnan(ut1Delta), "psTimeGetUT1Delta() returned NAN for incorrect time");
+        ok_double(ut1Delta, NAN, "psTimeGetUT1Delta() returned NAN for incorrect time");
         psFree(time);
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
@@ -214,5 +214,5 @@
         time->leapsecond = false;
         psF64 ut1Delta = psTimeGetUT1Delta(time, -100);
-        ok(isnan(ut1Delta), "psTimeGetUT1Delta(time, -100) returned NAN (incorrect bulletin)");
+        ok_double(ut1Delta, NAN, "psTimeGetUT1Delta(time, -100) returned NAN (incorrect bulletin)");
         psFree(time);
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
@@ -329,5 +329,5 @@
         psMemId id = psMemGetId();
         psF64 mjd = psTimeToMJD(NULL);
-        ok(isnan(mjd), "psTimeToMJD(NULL) returned NULL");
+        ok_double(mjd, NAN, "psTimeToMJD(NULL) returned NULL");
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     }
@@ -346,5 +346,5 @@
         time->leapsecond = false;
         psF64 mjd = psTimeToMJD(time);
-        ok(isnan(mjd), "psTimeToMJD() returned NAN for incorrect time");
+        ok_double(mjd, NAN, "psTimeToMJD() returned NAN for incorrect time");
         psFree(time);
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
@@ -391,5 +391,5 @@
         psF64 jd = psTimeToJD(NULL);
 
-        ok(isnan(jd), "psTimeToJD(NULL) returned NULL");
+        ok_double(jd, NAN, "psTimeToJD(NULL) returned NULL");
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     }
@@ -407,5 +407,5 @@
         psF64 jd = psTimeToJD(time);
         
-        ok(isnan(jd), "psTimeToJD() returned NAN for incorrect time");
+        ok_double(jd, NAN, "psTimeToJD() returned NAN for incorrect time");
 
         psFree(time);
