summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 5f52154e1..7828b4012 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -110,7 +110,7 @@ static char *prepare_dives_for_divelogs(const bool selected)
struct dive *dive;
FILE *f;
char filename[PATH_MAX], *tempfile;
- size_t streamsize;
+ int streamsize;
char *membuf;
xmlDoc *doc;
xsltStylesheetPtr xslt = NULL;
@@ -173,7 +173,7 @@ static char *prepare_dives_for_divelogs(const bool selected)
}
free((void *)membuf);
transformed = xsltApplyStylesheet(xslt, doc, NULL);
- xmlDocDumpMemory(transformed, (xmlChar **) &membuf, (int *)&streamsize);
+ xmlDocDumpMemory(transformed, (xmlChar **) &membuf, &streamsize);
xmlFreeDoc(doc);
xmlFreeDoc(transformed);
/*