svn rev #21565: branches/mskrb-integ/src/kdc/

lhoward@MIT.EDU lhoward at MIT.EDU
Mon Dec 22 21:39:53 EST 2008


http://src.mit.edu/fisheye/changelog/krb5/?cs=21565
Commit By: lhoward
Log Message:
Cleanup



Changed Files:
U   branches/mskrb-integ/src/kdc/kdc_preauth.c
Modified: branches/mskrb-integ/src/kdc/kdc_preauth.c
===================================================================
--- branches/mskrb-integ/src/kdc/kdc_preauth.c	2008-12-22 04:40:39 UTC (rev 21564)
+++ branches/mskrb-integ/src/kdc/kdc_preauth.c	2008-12-23 02:39:51 UTC (rev 21565)
@@ -371,7 +371,7 @@
 {
     void **preauth_plugins_ftables;
     struct krb5plugin_preauth_server_ftable_v1 *ftable;
-    int module_count, i, j, k;
+    size_t module_count, i, j, k;
     void *plugin_context;
     preauth_server_init_proc server_init_proc = NULL;
     char **kdc_realm_names = NULL;
@@ -429,7 +429,7 @@
 	krb5int_free_plugin_dir_data(preauth_plugins_ftables);
 	return ENOMEM;
     }
-    for (i = 0; i < kdc_numrealms; i++) {
+    for (i = 0; i < (size_t)kdc_numrealms; i++) {
 	kdc_realm_names[i] = kdc_realmlist[i]->realm_name;
     }
     kdc_realm_names[i] = NULL;




More information about the cvs-krb5 mailing list