aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorKevin Goos <kevingoos@telenet.be>2018-03-16 15:33:46 +0100
committerKevin Goos <kevingoos@telenet.be>2018-03-16 15:33:46 +0100
commit4f08521052188bc0de0be2f1a62f2bc07f70c8a4 (patch)
treefd8bf2298f30a74b78530abf1b207a5aa925277d /src/org/traccar
parent3b7c9c56e198ce213d3e113a2fbc4148b5d85558 (diff)
downloadtrackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.tar.gz
trackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.tar.bz2
trackermap-server-4f08521052188bc0de0be2f1a62f2bc07f70c8a4.zip
Fixed build error on char array
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/helper/DataConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/DataConverter.java b/src/org/traccar/helper/DataConverter.java
index 7abd4ae93..0df0219ad 100644
--- a/src/org/traccar/helper/DataConverter.java
+++ b/src/org/traccar/helper/DataConverter.java
@@ -26,7 +26,7 @@ public final class DataConverter {
public static byte[] parseHex(String string) {
try {
- return Hex.decodeHex(string);
+ return Hex.decodeHex(string.toCharArray());
} catch (DecoderException e) {
throw new RuntimeException(e);
}