Mercurial > libpst
diff src/timeconv.c @ 46:b2a7f2e0926a
more fixes for 64 bit format
author | carl |
---|---|
date | Sat, 12 Jan 2008 15:20:53 -0800 |
parents | c508ee15dfca |
children | 7d5c637aaafb |
line wrap: on
line diff
--- a/src/timeconv.c Tue Jan 08 16:33:23 2008 -0800 +++ b/src/timeconv.c Sat Jan 12 15:20:53 2008 -0800 @@ -15,9 +15,6 @@ #include "common.h" #include "timeconv.h" -time_t fileTimeToUnixTime( const FILETIME *filetime, DWORD *remainder ); -char * fileTimeToAscii (const FILETIME *filetime); - char * fileTimeToAscii (const FILETIME *filetime) { time_t t1; @@ -80,7 +77,7 @@ else a1 += (1 << 16) - 54590 - carry, carry = 1; a2 -= 27111902 + carry; - + /* If a is negative, replace a by (-1-a) */ negative = (a2 >= ((UINT32)1) << 31); if (negative)