mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9961 LMDB: fix MSVC error
This commit is contained in:
parent
f16ef18fc9
commit
54fae7711f
1 changed files with 1 additions and 1 deletions
|
|
@ -6935,7 +6935,7 @@ current:
|
||||||
* Copy end of page, adjusting alignment so
|
* Copy end of page, adjusting alignment so
|
||||||
* compiler may copy words instead of bytes.
|
* 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),
|
memcpy((size_t *)((char *)np + off),
|
||||||
(size_t *)((char *)omp + off), sz - off);
|
(size_t *)((char *)omp + off), sz - off);
|
||||||
sz = PAGEHDRSZ;
|
sz = PAGEHDRSZ;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue