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
dd9dc4e9
Commit
dd9dc4e9
authored
Oct 12, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ut_raw_to_hex(): Fix a compiler warning that was introduced
in r1960.
parent
d6df021d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
include/ut0mem.ic
include/ut0mem.ic
+3
-1
No files found.
include/ut0mem.ic
View file @
dd9dc4e9
...
@@ -6,6 +6,8 @@ Memory primitives
...
@@ -6,6 +6,8 @@ Memory primitives
Created 5/30/1994 Heikki Tuuri
Created 5/30/1994 Heikki Tuuri
************************************************************************/
************************************************************************/
#include "ut0byte.h"
UNIV_INLINE
UNIV_INLINE
void*
void*
ut_memcpy(void* dest, const void* sour, ulint n)
ut_memcpy(void* dest, const void* sour, ulint n)
...
@@ -166,7 +168,7 @@ ut_raw_to_hex(
...
@@ -166,7 +168,7 @@ ut_raw_to_hex(
rawc++; \
rawc++; \
}
}
if (
(ullint) hex % 2
== 0) {
if (
ut_align_offset(hex, 2)
== 0) {
LOOP_READ_BYTES(
LOOP_READ_BYTES(
*(uint16*) hex = hex_map[*rawc]
*(uint16*) hex = hex_map[*rawc]
...
...
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