+2001-06-18 Ezra Peisach <epeisach@mit.edu>
+
+
+ * alt_prof.c (krb5_read_realm_params): Cast argument to isspace()
+ to int.
+ * logger.c (krb5_klog_init): Likewise.
+
2001-06-17 Ezra Peisach <epeisach@mit.edu>
* logger.c (klog_vsyslog): If krb5_klog_init() is not called, do
(ep = strchr(sp, (int) '\t'))) {
/* Fill in trailing whitespace of sp */
tp = ep - 1;
- while (isspace(*tp) && (tp > sp)) {
+ while (isspace((int) *tp) && (tp > sp)) {
*tp = '\0';
tp--;
}
*ep = '\0';
ep++;
/* Skip over trailing whitespace of ep */
- while (isspace(*ep) && (*ep)) ep++;
+ while (isspace((int) *ep) && (*ep)) ep++;
}
/* Convert this flag */
if (krb5_string_to_flags(sp,
(ep = strchr(sp, (int) '\t'))) {
/* Fill in trailing whitespace of sp */
tp = ep - 1;
- while (isspace(*tp) && (tp < sp)) {
+ while (isspace((int) *tp) && (tp < sp)) {
*tp = '\0';
tp--;
}
*ep = '\0';
ep++;
/* Skip over trailing whitespace of ep */
- while (isspace(*ep) && (*ep)) ep++;
+ while (isspace((int) *ep) && (*ep)) ep++;
}
/* Convert this flag */
if (krb5_string_to_flags(sp,
* <whitespace><data><whitespace>
* so, trim off the leading and trailing whitespace here.
*/
- for (cp = logging_specs[i]; isspace(*cp); cp++);
+ for (cp = logging_specs[i]; isspace((int) *cp); cp++);
for (cp2 = &logging_specs[i][strlen(logging_specs[i])-1];
- isspace(*cp2); cp2--);
+ isspace((int) *cp2); cp2--);
cp2++;
*cp2 = '\0';
/*