From: John Kohl Date: Fri, 1 Mar 1991 09:46:08 +0000 (+0000) Subject: add a couple casts; include prototypes X-Git-Tag: krb5-1.0-alpha4~145 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fdc85140bb1bc20125c3a3fa9879d569530dbe3d;p=krb5.git add a couple casts; include prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1827 dc483132-0cff-0310-8789-dd5450dbe970 --- 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: