mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Use a generic 64bit int type
The zip_int64_t type appears to be missing with mingw so it breaks my cross builds - and this is clearly equivalent. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
757791335f
commit
fbb260aeb5
1 changed files with 1 additions and 1 deletions
|
@ -2052,7 +2052,7 @@ static void export_selected_dives_cb(GtkWidget *menuitem, GtkTreePath *path)
|
|||
snprintf(filename, PATH_MAX, "%d.xml", i + 1);
|
||||
s[i] = zip_source_buffer(zip, membuf, streamsize, 1);
|
||||
if (s[i]) {
|
||||
zip_int64_t ret = zip_add(zip, filename, s[i]);
|
||||
int64_t ret = zip_add(zip, filename, s[i]);
|
||||
if (ret == -1)
|
||||
fprintf(stderr, "failed to include dive %d\n", i);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue