From 6fa9e02723d17c6ccc0e001b9e4b11c2acb93e98 Mon Sep 17 00:00:00 2001 From: Martin Gysel Date: Sat, 2 Feb 2013 23:53:49 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2