From: John Kohl Date: Tue, 2 Oct 1990 15:53:51 +0000 (+0000) Subject: change back to uncasted ptr in ms_timeofday; ms_timeofday changed X-Git-Tag: krb5-1.0-alpha2~247 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fcf143b492588584e312187d54ea76cac8be3a1;p=krb5.git change back to uncasted ptr in ms_timeofday; ms_timeofday changed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1164 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/mk_priv.c b/src/lib/krb5/krb/mk_priv.c index 651504dab..1ad7af1aa 100644 --- a/src/lib/krb5/krb/mk_priv.c +++ b/src/lib/krb5/krb/mk_priv.c @@ -68,9 +68,8 @@ OLDDECLARG(krb5_data *, outbuf) privmsg_enc_part.s_address = sender_addr->address; privmsg_enc_part.r_address = recv_addr->address; - /* ms_timeofday returns signed msec, hence the cast */ if (retval = krb5_ms_timeofday(&privmsg_enc_part.timestamp, - (krb5_int16 *)&privmsg_enc_part.msec)) + &privmsg_enc_part.msec)) return retval; if (krb5_fulladdr_order(sender_addr, recv_addr) > 0)