From d81d1a6e760f997d9427f5d36e80e68ff0d3fef6 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 15 Mar 2005 06:17:05 +0000 Subject: [PATCH] Fix dangerous 64-bit time_t * to long * conversion ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17126 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/cns/ChangeLog | 4 ++++ src/windows/cns/tktlist.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog index d79cf1544..d32fd8ac3 100644 --- a/src/windows/cns/ChangeLog +++ b/src/windows/cns/ChangeLog @@ -1,3 +1,7 @@ +2005-03-15 Jeffrey Altman + + * tktlist.c: do not mix pointers to long and time_t + 2004-09-30 Jeffrey Altman * Makefile.in: add $(BUILDTOP) to include path for patchlevel.h diff --git a/src/windows/cns/tktlist.c b/src/windows/cns/tktlist.c index 5e1520120..68a6f1c62 100644 --- a/src/windows/cns/tktlist.c +++ b/src/windows/cns/tktlist.c @@ -56,7 +56,7 @@ typedef struct { * Returns: A pointer to the adjusted time value. */ static char * -short_date (long t) +short_date (time_t t) { static char buf[26 - 4]; char *p; -- 2.26.2