From fbb260aeb581b5f09a7ad439768a65c37856b77c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 15 Mar 2013 16:35:48 -0700 Subject: 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 --- divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/divelist.c b/divelist.c index 7e371d281..ac81d9daa 100644 --- a/divelist.c +++ b/divelist.c @@ -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); } -- cgit v1.2.3-70-g09d2