From fdc85140bb1bc20125c3a3fa9879d569530dbe3d Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 1 Mar 1991 09:46:08 +0000 Subject: [PATCH] add a couple casts; include prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1827 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/gen_seqnum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/gen_seqnum.c b/src/lib/krb5/krb/gen_seqnum.c index 1a1e4b929..c3b9284e9 100644 --- a/src/lib/krb5/krb/gen_seqnum.c +++ b/src/lib/krb5/krb/gen_seqnum.c @@ -20,6 +20,7 @@ static char rcsid_gen_seqnum_c[] = #include #include +#include #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) @@ -98,7 +99,7 @@ krb5_int32 *seqno; esize)); outseqno += MIN((char *)(seqno+1)-outseqno, esize); /* chain along */ - memcpy(intmp,outtmp,esize); + memcpy((char *)intmp,(char *)outtmp,esize); } (void) krb5_finish_key(&eblock); cleanup: -- 2.26.2