mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
MDEV-37949 fixup: possible GCC -Wconversion
This commit is contained in:
parent
3394a9d114
commit
c8bfb4dbd2
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ void log_t::create(lsn_t lsn) noexcept
|
|||
ut_ad(is_latest());
|
||||
ut_ad(this == &log_sys);
|
||||
|
||||
next_checkpoint_no= 4 * is_encrypted();
|
||||
next_checkpoint_no= uint16_t(4 * is_encrypted());
|
||||
write_lsn_offset= 0;
|
||||
base_lsn.store(lsn, std::memory_order_relaxed);
|
||||
flushed_to_disk_lsn.store(lsn, std::memory_order_relaxed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue