From f08688c5ee2aed851f92393b06b1b704ef0dd118 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 16 Mar 2003 09:01:47 +0200 Subject: trx0roll.c: Fix compiler warning in Windows about ib_longlong to ulint conversion innobase/trx/trx0roll.c: Fix compiler warning in Windows about ib_longlong to ulint conversion --- innobase/trx/trx0roll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'innobase/trx') diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c index deaee16b7cc..a9f8c5ad22c 100644 --- a/innobase/trx/trx0roll.c +++ b/innobase/trx/trx0roll.c @@ -699,9 +699,9 @@ try_again: and the transaction has at least 1000 row operations to undo */ if (srv_is_being_started && trx_roll_max_undo_no > 1000) { - progress_pct = 100 - - (ut_conv_dulint_to_longlong(undo_no) * 100) - / trx_roll_max_undo_no; + progress_pct = 100 - (ulint) + ((ut_conv_dulint_to_longlong(undo_no) * 100) + / trx_roll_max_undo_no); if (progress_pct != trx_roll_progress_printed_pct) { if (trx_roll_progress_printed_pct == 0) { fprintf(stderr, -- cgit v1.2.1