change back to uncasted ptr in ms_timeofday; ms_timeofday changed
authorJohn Kohl <jtkohl@mit.edu>
Tue, 2 Oct 1990 15:53:51 +0000 (15:53 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 2 Oct 1990 15:53:51 +0000 (15:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1164 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/mk_priv.c

index 651504dab008bdbee5934365a4a6ca0f2e2b6fee..1ad7af1aa1299e4904e60c8c1c9c96c4d9606e7e 100644 (file)
@@ -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)