{
static const char *const yes[] = { "y", "yes", "true", "t", "1", "on" };
static const char *const no[] = { "n", "no", "false", "f", "nil", "0", "off" };
- int i;
+ unsigned int i;
for (i = 0; i < sizeof(yes)/sizeof(yes[0]); i++)
if (!strcasecmp(string, yes[i])) {
{
krb5_error_code kret;
char **values;
- int i, lastidx;
+ int lastidx;
if (!(kret = krb5_aprof_getvals(acontext, hierarchy, &values))) {
for (lastidx=0; values[lastidx]; lastidx++);
{ "LOCAL7", LOG_LOCAL7 },
#endif /* LOG_LOCAL7 */
};
- int j;
+ unsigned int j;
for (j = 0; j < sizeof(facilities)/sizeof(facilities[0]); j++)
if (!strcasecmp(cp2, facilities[j].name)) {