diff --git a/roll/roll.c b/roll/roll.c index be441e0..755f952 100644 --- a/roll/roll.c +++ b/roll/roll.c @@ -71,7 +71,7 @@ range: fprintf(stderr, if(*ep != '\0') goto error; - while(--r >= 0) + while(r --> 0) fprintf(stdout, "%d\n", rand() % s + 1); }