X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/be3ed0da8343bdbd68665bef9a9bb096865bea04..d9e0300f903aa7cfb85a94480ad544082a7a6c35:/cmdgen.c diff --git a/cmdgen.c b/cmdgen.c index 9aa585f3..ae405208 100644 --- a/cmdgen.c +++ b/cmdgen.c @@ -119,7 +119,7 @@ void sk_cleanup(void) void showversion(void) { char *verstr = dupstr(ver); - verstr[0] = tolower(verstr[0]); + verstr[0] = tolower((unsigned char)verstr[0]); printf("PuTTYgen %s\n", verstr); sfree(verstr); }