dumpcallbackstate-64bit-timet-safe-20090310

LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad
This commit is contained in:
Matt Benjamin 2009-03-10 19:21:12 +00:00 committed by Derrick Brashear
parent 581fd18bd9
commit 77452db304

View File

@ -2653,7 +2653,8 @@ int
DumpCallBackState(void)
{
int fd, oflag;
afs_uint32 magic = MAGIC, now = FT_ApproxTime(), freelisthead;
afs_uint32 magic = MAGIC, freelisthead;
time_t now = FT_ApproxTime();
oflag = O_WRONLY | O_CREAT | O_TRUNC;
#ifdef AFS_NT40_ENV