aboutsummaryrefslogtreecommitdiff
path: root/src/io/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/input.c')
-rw-r--r--src/io/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/input.c b/src/io/input.c
index 3865d79..34aeb5a 100644
--- a/src/io/input.c
+++ b/src/io/input.c
@@ -22,7 +22,8 @@ GEN input_i(const char *prompt, long bits) {
free(line);
return gen_m1;
}
- for (size_t i = 0, j = 0; (line[j] = line[i]); j += !isspace(line[i++]));
+ for (size_t i = 0, j = 0; (line[j] = line[i]); j += !isspace(line[i++]))
+ ;
pari_sp ltop = avma;
GEN in = strtoi(line);