Commit 8f917ccd authored by unknown's avatar unknown

correct casting in ulonglong2double

parent 489b3926
...@@ -173,8 +173,8 @@ inline double rint(double nr) ...@@ -173,8 +173,8 @@ inline double rint(double nr)
} }
#ifdef _WIN64 #ifdef _WIN64
#define ulonglong2double(A) ((double) (A)) #define ulonglong2double(A) ((double) (ulonglong) (A))
#define my_off_t2double(A) ((double) (A)) #define my_off_t2double(A) ((double) (my_off_t) (A))
#else #else
inline double ulonglong2double(ulonglong value) inline double ulonglong2double(ulonglong value)
......
...@@ -571,8 +571,8 @@ extern double my_atof(const char*); ...@@ -571,8 +571,8 @@ extern double my_atof(const char*);
#define closesocket(A) close(A) #define closesocket(A) close(A)
#endif #endif
#ifndef ulonglong2double #ifndef ulonglong2double
#define ulonglong2double(A) ((double) (A)) #define ulonglong2double(A) ((double) (ulonglong) (A))
#define my_off_t2double(A) ((double) (A)) #define my_off_t2double(A) ((double) (my_off_t) (A))
#endif #endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment