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>
This commit is contained in:
Martin Gysel 2013-02-02 23:53:49 +01:00 committed by Dirk Hohndel
parent 59e92d7cfa
commit 6fa9e02723

2
file.c
View file

@ -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