From 2d3428e953648561c1bd26bd386fefba8d3bb2b7 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 12 Jun 2025 12:37:33 +0200 Subject: [PATCH] MDEV-24 compilation on windows --- storage/maria/ma_checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/maria/ma_checkpoint.c b/storage/maria/ma_checkpoint.c index fb6439a9472..119e69da9bf 100644 --- a/storage/maria/ma_checkpoint.c +++ b/storage/maria/ma_checkpoint.c @@ -285,7 +285,7 @@ static int really_execute_checkpoint(void) if (unlikely(translog_write_record(&lsn, LOGREC_CHECKPOINT, &dummy_transaction_object, NULL, total_rec_length, - log_pos - log_array, + (uint)(log_pos - log_array), log_array, NULL, NULL) || translog_flush(lsn))) {