[PATCH] Fix compiling, old api of parse_xml_buffer

me at bearsh.org me at bearsh.org
Sat Feb 2 14:53:49 PST 2013


From: Martin Gysel <me at bearsh.org>

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 at bearsh.org>
---
 file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/file.c b/file.c
index 73c07f8..3ca5f93 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
-- 
1.8.1.2



More information about the subsurface mailing list