summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-15 16:35:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-15 16:36:41 -0700
commitfbb260aeb581b5f09a7ad439768a65c37856b77c (patch)
tree621ea87aa4c0e1de5b85d582eb26f8b335a0f4a3 /divelist.c
parent757791335f212a189790452cb2d467c31a2ae672 (diff)
downloadsubsurface-fbb260aeb581b5f09a7ad439768a65c37856b77c.tar.gz
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>
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
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);
}