summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-09-11 16:24:38 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-09-11 16:24:38 +0000
commit7ad0c6290b3f89694e99c82ebdd6e3663c1a7b53 (patch)
treeb93f1568068cb7d4c9ecb6cc5239e78d68b3eaf8 /src
parent9814cbf248691e1db1088f34fe648715db503574 (diff)
cast in call to krb5_ms_timeofday
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1123 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/mk_req_ext.c5
1 files changed, 4 insertions, 1 deletions
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));
}