summaryrefslogtreecommitdiff
path: root/altoslib/AltosPyro.java
diff options
context:
space:
mode:
Diffstat (limited to 'altoslib/AltosPyro.java')
-rw-r--r--altoslib/AltosPyro.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosPyro.java b/altoslib/AltosPyro.java
index a1a903fd..c948ce21 100644
--- a/altoslib/AltosPyro.java
+++ b/altoslib/AltosPyro.java
@@ -277,7 +277,7 @@ public class AltosPyro {
int value = 0;
++i;
try {
- value = AltosLib.fromdec(tokens[i]);
+ value = (int) AltosLib.fromdec(tokens[i]);
} catch (NumberFormatException n) {
throw new ParseException(String.format("Invalid pyro value \"%s\"",
tokens[i]), i);