aboutsummaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-28 23:38:41 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 20:19:19 -0800
commite86d298734ce76b9c66cc57dca68919fffb68789 (patch)
tree8d192e23eb3544a5c08f3d60e4069774d67c6e14 /parse-xml.c
parent78d782f3e9a30aa8080e4e8ffb90e1fc5aa8050d (diff)
downloadsubsurface-e86d298734ce76b9c66cc57dca68919fffb68789.tar.gz
Switch to using unsigned char in DLF import
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 3fb495885..a14c3e71f 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2531,9 +2531,9 @@ int parse_cobalt_buffer(sqlite3 *handle, const char *url, const char *buffer, in
return 0;
}
-int parse_dlf_buffer(char *buffer, size_t size)
+int parse_dlf_buffer(unsigned char *buffer, size_t size)
{
- char *ptr = (char *)buffer;
+ unsigned char *ptr = buffer;
bool event, found;
int i;