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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b8369481
Commit
b8369481
authored
Jun 27, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct casting void->char
parent
cb188a89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
include/my_global.h
include/my_global.h
+10
-10
No files found.
include/my_global.h
View file @
b8369481
...
...
@@ -1020,22 +1020,22 @@ do { doubleget_union _tmp; \
32))
#define int2store(T,A) do { uint def_temp= (uint) (A) ;\
*((uchar*) (T))= (uchar)(def_temp); \
*((uchar*) (T
+1)
)=(uchar)((def_temp >> 8)); \
*((uchar*) (T
)+1
)=(uchar)((def_temp >> 8)); \
} while(0)
#define int3store(T,A) do {
/*lint -save -e734 */
\
*((uchar*)(T))=(uchar) ((A));\
*((uchar*) (T)+1)=(uchar) (((A) >> 8));\
*((uchar*)(T)+2)=(uchar) (((A) >> 16)); \
/*lint -restore */
} while(0)
#define int4store(T,A) do { *(
T
)=(char) ((A));\
*((
T
)+1)=(char) (((A) >> 8));\
*((
T
)+2)=(char) (((A) >> 16));\
*((
T
)+3)=(char) (((A) >> 24)); } while(0)
#define int5store(T,A) do { *(
T
)=((A));\
*((
T
)+1)=(((A) >> 8));\
*((
T
)+2)=(((A) >> 16));\
*((
T
)+3)=(((A) >> 24)); \
*((
T
)+4)=(((A) >> 32)); } while(0)
#define int4store(T,A) do { *(
(char *)(T)
)=(char) ((A));\
*((
(char *)(T)
)+1)=(char) (((A) >> 8));\
*((
(char *)(T)
)+2)=(char) (((A) >> 16));\
*((
(char *)(T)
)+3)=(char) (((A) >> 24)); } while(0)
#define int5store(T,A) do { *(
(char *)(T)
)=((A));\
*((
(char *)(T)
)+1)=(((A) >> 8));\
*((
(char *)(T)
)+2)=(((A) >> 16));\
*((
(char *)(T)
)+3)=(((A) >> 24)); \
*((
(char *)(T)
)+4)=(((A) >> 32)); } while(0)
#define int8store(T,A) do { uint def_temp= (uint) (A), def_temp2= (uint) ((A) >> 32); \
int4store((T),def_temp); \
int4store((T+4),def_temp2); } while(0)
...
...
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