From 5e5045630db6a0744d9f36146b8a6f1224d5b1b4 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 3 Feb 1995 17:01:01 +0000 Subject: [PATCH] Don't use BITS64, use SIZEOF_LONG git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4895 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 4 ++++ src/kadmin/server/adm_v4_pwd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 91134b242..856cf8947 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 3 07:50:14 1995 Theodore Y. Ts'o (tytso@dcl) + + * adm_v4_pwd.c: Don't use BITS64, use SIZEOF_LONG + Wed Feb 01 22:05:35 1995 Chris Provenzano (proven@mit.edu) * adm_process.c, adm_extern.h (cpw_keyproc()) Added diff --git a/src/kadmin/server/adm_v4_pwd.c b/src/kadmin/server/adm_v4_pwd.c index 09fb66cff..26ba0e635 100644 --- a/src/kadmin/server/adm_v4_pwd.c +++ b/src/kadmin/server/adm_v4_pwd.c @@ -422,7 +422,7 @@ int maxlen; /* maximum length of st */ { u_long temp = 0; /* to hold the net order short */ -#ifdef BITS64 +#if (SIZEOF_LONG == 4) if (loc + 4 > maxlen) return(-1); (void) memcpy((char *) &temp + 4, (char *) ((u_long)st + (u_long)loc), 4); -- 2.26.2