From 77452db304abfc6ad0139769034986dc8bf172d9 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Tue, 10 Mar 2009 19:21:12 +0000 Subject: [PATCH] dumpcallbackstate-64bit-timet-safe-20090310 LICENSE IPL10 FIXES 124451 on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad --- src/viced/callback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/viced/callback.c b/src/viced/callback.c index 84305ad99..e1052288a 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -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 -- 2.39.5