summaryrefslogtreecommitdiffstats
path: root/apps/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/rand.c')
-rw-r--r--apps/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rand.c b/apps/rand.c
index cfbba30755..fa9bc023f4 100644
--- a/apps/rand.c
+++ b/apps/rand.c
@@ -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)
{