mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#9961 LMDB: fix MSVC error
This commit is contained in:
parent
b9db2582cb
commit
6264f53975
@ -8612,7 +8612,7 @@ current:
|
||||
* Copy end of page, adjusting alignment so
|
||||
* compiler may copy words instead of bytes.
|
||||
*/
|
||||
off = (PAGEHDRSZ + data->mv_size) & -sizeof(size_t);
|
||||
off = (PAGEHDRSZ + data->mv_size) & -(int)sizeof(size_t);
|
||||
memcpy((size_t *)((char *)np + off),
|
||||
(size_t *)((char *)omp + off), sz - off);
|
||||
sz = PAGEHDRSZ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user