time_t-pointer-conversions-20040908
authorJeffrey Altman <jaltman@mit.edu>
Wed, 8 Sep 2004 22:35:33 +0000 (22:35 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 8 Sep 2004 22:35:33 +0000 (22:35 +0000)
commit24da12afa3b7b79b4af097daa39b98093e10a743
tree58e700eba5f870bc1614c97d7f5e8c7e0d1c7607
parentf31658317a77346759f165ff13b5dcf77a8b3683
time_t-pointer-conversions-20040908

FIXES 15169

Modify all parameters to functions which take a pointer to time_t
to actually provide a pointer to time_t instead of pointers to long,
afs_int32, afs_uint32, etc.

This is to provide compatibility with systems that use 64-bit time_t
typedefs such as the IBM compilers for AIX and the Microsoft Visual
Studio 2005 compiler.

This patch does not address any of the issues of data loss caused
by converting 64-bit time_t to 32-bit signed or unsigned values.
17 files changed:
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_freelance.h
src/WINNT/afsd/cm_vnodeops.h
src/WINNT/afsd/ctokens.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c
src/bucoord/commands.c
src/bucoord/dump_sched.c
src/bucoord/restore.c
src/butc/lwps.c
src/butc/recoverDb.c
src/butc/tcmain.c
src/butm/test_ftm.c
src/ubik/udebug.c
src/util/ktime.c
src/util/serverLog.c
src/viced/viced.c