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:
Dirk Hohndel 2013-03-15 16:35:48 -07:00
parent 757791335f
commit fbb260aeb5

View file

@ -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);
}