From: Ezra Peisach Date: Thu, 11 Jan 1996 00:16:49 +0000 (+0000) Subject: Take care of a gcc warnign about shufting two far X-Git-Tag: krb5-1.0-beta6~647 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7ab34fdb526437a4ecf39b50079b56ff75064ad;p=krb5.git Take care of a gcc warnign about shufting two far git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7287 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/file/ChangeLog b/src/lib/krb5/keytab/file/ChangeLog index de631403f..c3648e3ef 100644 --- a/src/lib/krb5/keytab/file/ChangeLog +++ b/src/lib/krb5/keytab/file/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 5 04:50:41 1996 Ezra Peisach (epeisach@kangaroo.mit.edu) + + * ser_ktf.c (krb5_ktf_keytab_internalize): Take care of gcc + warning under OSF/1. + Fri Oct 6 22:04:15 1995 Theodore Y. Ts'o * Makefile.in: Remove ##DOS!include of config/windows.in. diff --git a/src/lib/krb5/keytab/file/ser_ktf.c b/src/lib/krb5/keytab/file/ser_ktf.c index 73797a341..aadc71ee1 100644 --- a/src/lib/krb5/keytab/file/ser_ktf.c +++ b/src/lib/krb5/keytab/file/ser_ktf.c @@ -297,7 +297,7 @@ krb5_ktf_keytab_internalize(kcontext, argp, buffer, lenremain) #if SIZEOF_LONG == 4 fpos = foffbuf[0]; #else /* SIZEOF_LONG == 4 */ - fpos = foffbuf[0] | (foffbuf[1] << 32); + fpos = foffbuf[0] | ((long) foffbuf[1] << 32); #endif /* SIZEOF_LONG == 4 */ fseek(KTFILEP(keytab), fpos, SEEK_SET); }