projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9814cbf
)
cast in call to krb5_ms_timeofday
author
John Kohl
<jtkohl@mit.edu>
Tue, 11 Sep 1990 16:24:38 +0000
(16:24 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 11 Sep 1990 16:24:38 +0000
(16:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1123
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/mk_req_ext.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/mk_req_ext.c
b/src/lib/krb5/krb/mk_req_ext.c
index beee9fc43330642d9b95f6464804fa70e8420e18..0f824301be83699ac0c85d5d95c43811e8138bf5 100644
(file)
--- 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));
}