mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-34062 compilation failure on 32bit
extra/mariabackup/xtrabackup.cc:3407:15: error: conversion from ‘lsn_t’ {aka ‘long long unsigned int’} to ‘size_t’ {aka ‘unsigned int’} may change value [-Werror=conversion]
followup for 6acada713a
This commit is contained in:
parent
9d80422f79
commit
b04fb9fb43
1 changed files with 1 additions and 1 deletions
|
@ -3404,7 +3404,7 @@ static bool xtrabackup_copy_mmap_logfile()
|
|||
/* Set the sequence bit (the backed-up log will not wrap around) */
|
||||
size_t seqo= recv_sys.offset - seq_offset;
|
||||
if (seqo < log_sys.START_OFFSET)
|
||||
seqo+= log_sys.file_size - log_sys.START_OFFSET;
|
||||
seqo+= static_cast<size_t>(log_sys.file_size - log_sys.START_OFFSET);
|
||||
const byte *seq= &log_sys.buf[seqo];
|
||||
ut_ad(*seq == log_sys.get_sequence_bit(recv_sys.lsn - seq_offset));
|
||||
if (!*seq)
|
||||
|
|
Loading…
Reference in a new issue