summaryrefslogtreecommitdiff
path: root/test/atoi2.rl
diff options
context:
space:
mode:
Diffstat (limited to 'test/atoi2.rl')
-rw-r--r--test/atoi2.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/atoi2.rl b/test/atoi2.rl
index 923e88f..9f17c69 100644
--- a/test/atoi2.rl
+++ b/test/atoi2.rl
@@ -20,7 +20,7 @@ neg = false;
}
action add_digit {
- val = val * 10 + (fc - 48);
+ val = val * 10 + <int>(fc - 48);
}
action finish {