summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Gysel <me@bearsh.org>2013-02-02 23:53:49 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-03 12:47:49 +1100
commit6fa9e02723d17c6ccc0e001b9e4b11c2acb93e98 (patch)
tree31fbf08281cc0972debcae38272ef51d8632b76a
parent59e92d7cfaa2f95decbaa974c804c781581f22ec (diff)
downloadsubsurface-6fa9e02723d17c6ccc0e001b9e4b11c2acb93e98.tar.gz
Fix compiling, old api of parse_xml_buffer
Commit 8843ee61 changes the api of 'parse_xml_buffer'. Unfortunately one occurrence has been left which fails if LIBZIP has been defined. Signed-off-by: Martin Gysel <me@bearsh.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 73c07f82d..3ca5f93cb 100644
--- a/file.c
+++ b/file.c
@@ -72,7 +72,7 @@ static void suunto_read(struct zip_file *file, GError **error)
size = read * 3 / 2;
mem = realloc(mem, size);
}
- parse_xml_buffer(_("SDE file"), mem, read, error);
+ parse_xml_buffer(_("SDE file"), mem, read, &dive_table, error);
free(mem);
}
#endif