diff src/timeconv.c @ 63:cfd6175f9334

Start work on pst2dii to convert to Summation dii load file format.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 23 Feb 2008 14:36:17 -0800
parents 7d5c637aaafb
children 987aa872294e
line wrap: on
line diff
--- a/src/timeconv.c	Sat Feb 16 12:43:42 2008 -0800
+++ b/src/timeconv.c	Sat Feb 23 14:36:17 2008 -0800
@@ -18,13 +18,13 @@
 char * fileTimeToAscii (const FILETIME *filetime) {
   time_t t1;
 
-  t1 = fileTimeToUnixTime(filetime,0);
+  t1 = fileTimeToUnixTime(filetime, NULL);
   return ctime(&t1);
 }
 
 struct tm * fileTimeToStructTM (const FILETIME *filetime) {
   time_t t1;
-  t1 = fileTimeToUnixTime(filetime, 0);
+  t1 = fileTimeToUnixTime(filetime, NULL);
   return gmtime(&t1);
 }