From 7ad0c6290b3f89694e99c82ebdd6e3663c1a7b53 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 11 Sep 1990 16:24:38 +0000 Subject: [PATCH] cast in call to krb5_ms_timeofday git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1123 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/mk_req_ext.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/mk_req_ext.c b/src/lib/krb5/krb/mk_req_ext.c index beee9fc43..0f824301b 100644 --- a/src/lib/krb5/krb/mk_req_ext.c +++ b/src/lib/krb5/krb/mk_req_ext.c @@ -188,5 +188,8 @@ const krb5_checksum *cksum; { authent->client = creds->client; authent->checksum = (krb5_checksum *)cksum; - return(krb5_ms_timeofday(&authent->ctime, &authent->cmsec)); + + /* cmsec is unsigned, time is signed, hence the cast */ + return(krb5_ms_timeofday(&authent->ctime, + (krb5_int16 *)&authent->cmsec)); } -- 2.26.2