diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-28 23:24:49 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-28 23:27:12 +0200 |
commit | dbb39475d982e8126fdbdb3e075f538a04ed460b (patch) | |
tree | 880a79808a83bc7a837951fa2a1e5f9b24910d89 /bin | |
parent | 93c3bb5862b566c975f42a3b103357fef1a7f7a6 (diff) |
Upgrade variables to 64 bit
Diffstat (limited to 'bin')
-rw-r--r-- | bin/core/imag-gps/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/core/imag-gps/src/main.rs b/bin/core/imag-gps/src/main.rs index 5378fac6..a4415594 100644 --- a/bin/core/imag-gps/src/main.rs +++ b/bin/core/imag-gps/src/main.rs @@ -94,7 +94,7 @@ fn add(rt: &Runtime) { .map_err_trace_exit_unwrap(1); let c = { - let parse = |value: &str| -> (i32, i32, i32) { + let parse = |value: &str| -> (i64, i64, i64) { debug!("Parsing '{}' into degree, minute and second", value); let ary = value.split(".") .map(|v| {debug!("Parsing = {}", v); v}) @@ -103,7 +103,7 @@ fn add(rt: &Runtime) { elem.or_else(|_| Err(GE::from(GEK::NumberConversionError))) .map_err_trace_exit_unwrap(1) }) - .collect::<Vec<i32>>(); + .collect::<Vec<i64>>(); let degree = ary.get(0).unwrap_or_else(|| { error!("Degree missing. This value is required."); |