mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:13:23 +00:00
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:
parent
59e92d7cfa
commit
6fa9e02723
1 changed files with 1 additions and 1 deletions
2
file.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue