diff options
author | Bdale Garbee <bdale@gag.com> | 2016-06-17 10:00:10 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2016-06-17 10:00:10 -0600 |
commit | 31cf047113ec72a78f4b500223a2c6be23bc86fd (patch) | |
tree | 4f171ddf642fb06bd1b520cd98a242efe5f8320f /altoslib/AltosLib.java | |
parent | 2f0c977c747824d0798550ac64eceb1d66c50efd (diff) | |
parent | afe74c067a31ce420d0d4cdac2069c1d258a5114 (diff) |
Merge branch 'master' into branch-1.6
Diffstat (limited to 'altoslib/AltosLib.java')
-rw-r--r-- | altoslib/AltosLib.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/altoslib/AltosLib.java b/altoslib/AltosLib.java index a73a7759..044caf8d 100644 --- a/altoslib/AltosLib.java +++ b/altoslib/AltosLib.java @@ -15,7 +15,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altoslib_10; +package org.altusmetrum.altoslib_11; import java.util.*; import java.io.*; @@ -493,9 +493,10 @@ public class AltosLib { return r; } - public static int fromdec(String s) throws NumberFormatException { - int c, v = 0; - int sign = 1; + public static long fromdec(String s) throws NumberFormatException { + int c; + long v = 0; + long sign = 1; for (int i = 0; i < s.length(); i++) { c = s.charAt(i); if (i == 0 && c == '-') { |