Add required cast.
authorBodo Möller <bodo@openssl.org>
Fri, 19 May 2000 12:02:49 +0000 (12:02 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 19 May 2000 12:02:49 +0000 (12:02 +0000)
apps/rand.c

index cfbba30..fa9bc02 100644 (file)
@@ -62,7 +62,7 @@ int MAIN(int argc, char **argv)
                        else
                                badopt = 1;
                        }
-               else if (isdigit(argv[i][0]))
+               else if (isdigit((unsigned char)argv[i][0]))
                        {
                        if (num < 0)
                                {