mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
branches/zip: ut_raw_to_hex(): Fix a compiler warning that was introduced
in r1960.
This commit is contained in:
parent
31dae76d30
commit
4a697d8f60
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,8 @@ Memory primitives
|
|||
Created 5/30/1994 Heikki Tuuri
|
||||
************************************************************************/
|
||||
|
||||
#include "ut0byte.h"
|
||||
|
||||
UNIV_INLINE
|
||||
void*
|
||||
ut_memcpy(void* dest, const void* sour, ulint n)
|
||||
|
@ -166,7 +168,7 @@ ut_raw_to_hex(
|
|||
rawc++; \
|
||||
}
|
||||
|
||||
if ((ullint) hex % 2 == 0) {
|
||||
if (ut_align_offset(hex, 2) == 0) {
|
||||
|
||||
LOOP_READ_BYTES(
|
||||
*(uint16*) hex = hex_map[*rawc]
|
||||
|
|
Loading…
Add table
Reference in a new issue