From 37970b0b82d4c6876f001037471ee37e62c3dc02 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 12 Sep 1990 10:37:53 +0000 Subject: [PATCH] change int16 to ui_2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1124 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc-proto.h | 2 +- src/lib/krb5/ccache/file/fcc_read.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/ccache/file/fcc-proto.h b/src/lib/krb5/ccache/file/fcc-proto.h index 2e5d4f134..6ad69a96f 100644 --- a/src/lib/krb5/ccache/file/fcc-proto.h +++ b/src/lib/krb5/ccache/file/fcc-proto.h @@ -48,7 +48,7 @@ krb5_error_code krb5_fcc_read_principal PROTOTYPE((krb5_ccache id , krb5_princip krb5_error_code krb5_fcc_read_keyblock PROTOTYPE((krb5_ccache id , krb5_keyblock *keyblock )); krb5_error_code krb5_fcc_read_data PROTOTYPE((krb5_ccache id , krb5_data *data )); krb5_error_code krb5_fcc_read_int32 PROTOTYPE((krb5_ccache id , krb5_int32 *i )); -krb5_error_code krb5_fcc_read_int16 PROTOTYPE((krb5_ccache id , krb5_int16 *i )); +krb5_error_code krb5_fcc_read_ui_2 PROTOTYPE((krb5_ccache id , krb5_ui_2 *i )); krb5_error_code krb5_fcc_read_keytype PROTOTYPE((krb5_ccache id , krb5_keytype *k )); krb5_error_code krb5_fcc_read_int PROTOTYPE((krb5_ccache id , int *i )); krb5_error_code krb5_fcc_read_bool PROTOTYPE((krb5_ccache id , krb5_boolean *b )); diff --git a/src/lib/krb5/ccache/file/fcc_read.c b/src/lib/krb5/ccache/file/fcc_read.c index f69a36838..33770cd7a 100644 --- a/src/lib/krb5/ccache/file/fcc_read.c +++ b/src/lib/krb5/ccache/file/fcc_read.c @@ -229,7 +229,7 @@ krb5_fcc_read_addr(id, addr) addr->contents = 0; - kret = krb5_fcc_read_int16(id, &addr->addrtype); + kret = krb5_fcc_read_ui_2(id, &addr->addrtype); CHECK(kret); kret = krb5_fcc_read_int(id, &addr->length); @@ -265,11 +265,11 @@ krb5_fcc_read_int32(id, i) } krb5_error_code -krb5_fcc_read_int16(id, i) +krb5_fcc_read_ui_2(id, i) krb5_ccache id; - krb5_int16 *i; + krb5_ui_2 *i; { - return krb5_fcc_read(id, (krb5_pointer) i, sizeof(krb5_int16)); + return krb5_fcc_read(id, (krb5_pointer) i, sizeof(krb5_ui_2)); } krb5_error_code -- 2.26.2