summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 884b2edfb63..4fdbfbbd02f 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -183,8 +183,8 @@ inline double rint(double nr)
}
#ifdef _WIN64
-#define ulonglong2double(A) ((double) (A))
-#define my_off_t2double(A) ((double) (A))
+#define ulonglong2double(A) ((double) (ulonglong) (A))
+#define my_off_t2double(A) ((double) (my_off_t) (A))
#else
inline double ulonglong2double(ulonglong value)