From 9fcf143b492588584e312187d54ea76cac8be3a1 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 2 Oct 1990 15:53:51 +0000 Subject: [PATCH] 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 --- src/lib/krb5/krb/mk_priv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.26.2