summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2006-04-21 15:55:17 +0000
committerEzra Peisach <epeisach@mit.edu>2006-04-21 15:55:17 +0000
commit34a7b0beed75a4b37926bcd4a65e81804d33f305 (patch)
treeef3b3b0038fd95a9b6391510d8f247626be8c61c /src/include
parentb9b802c4fd52b7f090c090c3179adf69415304af (diff)
downloadkrb5-34a7b0beed75a4b37926bcd4a65e81804d33f305.tar.gz
krb5-34a7b0beed75a4b37926bcd4a65e81804d33f305.tar.xz
krb5-34a7b0beed75a4b37926bcd4a65e81804d33f305.zip
unsigned/signed int warnings in krb5_context variables
Change in_tkt_ktype_count, tgs_ktype_count and conf_tgs_ktypes_count in context to unsigned int. Change get_profile_etype_list() to expect unsigned int as well. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17947 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index d9a464733..eaf99322f 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1013,9 +1013,9 @@ void KRB5_CALLCONV krb5_free_pa_enc_ts
struct _krb5_context {
krb5_magic magic;
krb5_enctype *in_tkt_ktypes;
- int in_tkt_ktype_count;
+ unsigned int in_tkt_ktype_count;
krb5_enctype *tgs_ktypes;
- int tgs_ktype_count;
+ unsigned int tgs_ktype_count;
/* This used to be a void*, but since we always allocate them
together (though in different source files), and the types
are declared in the same header, might as well just combine
@@ -1054,7 +1054,7 @@ struct _krb5_context {
requested ticket (the session key of which may be
constrained by tgs_ktypes above). */
krb5_enctype *conf_tgs_ktypes;
- int conf_tgs_ktypes_count;
+ unsigned int conf_tgs_ktypes_count;
/* Use the _configured version? */
krb5_boolean use_conf_ktypes;