diff options
author | Ezra Peisach <epeisach@mit.edu> | 1996-01-11 00:16:49 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1996-01-11 00:16:49 +0000 |
commit | a7ab34fdb526437a4ecf39b50079b56ff75064ad (patch) | |
tree | af97055bf0ca17c1380e972cccd3d1275c3b8707 /src/lib/krb5 | |
parent | 49a50aa9beffb26532250cafccee78d6da7f829f (diff) | |
download | krb5-a7ab34fdb526437a4ecf39b50079b56ff75064ad.tar.gz krb5-a7ab34fdb526437a4ecf39b50079b56ff75064ad.tar.xz krb5-a7ab34fdb526437a4ecf39b50079b56ff75064ad.zip |
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
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/keytab/file/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/krb5/keytab/file/ser_ktf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/keytab/file/ChangeLog b/src/lib/krb5/keytab/file/ChangeLog index de631403fa..c3648e3ef0 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 <tytso@dcl> * 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 73797a3417..aadc71ee17 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); } |