aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SkypatrolProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:55:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:55:44 +1300
commit32d3fe2239886c4b75c93fcb344721113104ebec (patch)
treefb23ad5fcc7d47cccf313c736bdaf9332bdabdcd /src/org/traccar/protocol/SkypatrolProtocolDecoder.java
parentf49790953e6f9c3f9aa88564caf72a3bf002a801 (diff)
downloadtrackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.tar.gz
trackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.tar.bz2
trackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.zip
Fix some more style issues
Diffstat (limited to 'src/org/traccar/protocol/SkypatrolProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/SkypatrolProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java b/src/org/traccar/protocol/SkypatrolProtocolDecoder.java
index 9d5b499cc..dfbdca930 100644
--- a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java
+++ b/src/org/traccar/protocol/SkypatrolProtocolDecoder.java
@@ -39,9 +39,9 @@ public class SkypatrolProtocolDecoder extends BaseProtocolDecoder {
private static double convertCoordinate(long coordinate) {
int sign = 1;
- if (coordinate > 0x7fffffffl) {
+ if (coordinate > 0x7fffffffL) {
sign = -1;
- coordinate = 0xffffffffl - coordinate;
+ coordinate = 0xffffffffL - coordinate;
}
long degrees = coordinate / 1000000;