projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b7d6e
)
add a couple casts; include prototypes
author
John Kohl
<jtkohl@mit.edu>
Fri, 1 Mar 1991 09:46:08 +0000
(09:46 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 1 Mar 1991 09:46:08 +0000
(09:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1827
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/gen_seqnum.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/gen_seqnum.c
b/src/lib/krb5/krb/gen_seqnum.c
index 1a1e4b9298e856c0cdce8fede6fa3b2a8cca5dcb..c3b9284e9329a6f587b6d617d260ca32f7ac8e7c 100644
(file)
--- 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 <krb5/krb5.h>
#include <krb5/ext-proto.h>
+#include <krb5/libos-proto.h>
#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: