Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
52c353de
Commit
52c353de
authored
Oct 27, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct casting in ulonglong2double
parent
72d00ef0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/config-win.h
include/config-win.h
+2
-2
include/my_global.h
include/my_global.h
+2
-2
No files found.
include/config-win.h
View file @
52c353de
...
@@ -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
)
...
...
include/my_global.h
View file @
52c353de
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment