From: David Levine Date: Thu, 20 Feb 2014 04:01:45 +0000 (-0600) Subject: Cast argument to isspace() to unsigned char instead of int. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/c72aa476d3eec3bede50fdee7e0bd30ef69f1f4b Cast argument to isspace() to unsigned char instead of int. --- diff --git a/sbr/credentials.c b/sbr/credentials.c index 2b9e843e..9f3faa95 100644 --- a/sbr/credentials.c +++ b/sbr/credentials.c @@ -21,7 +21,7 @@ init_credentials_file () { struct stat st; char *filename = cred_style + 5; - while (*filename && isspace ((int) *filename)) ++filename; + while (*filename && isspace ((unsigned char) *filename)) ++filename; if (*filename == '/') { credentials_file = filename;