diff --git a/src/tpm_library.c b/src/tpm_library.c index 99198056..3799fdce 100644 --- a/src/tpm_library.c +++ b/src/tpm_library.c @@ -391,7 +391,7 @@ static unsigned char *TPMLIB_GetPlaintext(const char *stream, start = strstr(stream, starttag); if (start) { start += strlen(starttag); - while (isspace(*start)) + while (isspace((int)*start)) start++; end = strstr(start, endtag); if (end) {