From 53c7ab7afbe74d8d063fe177420b339c762f27c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 1 Aug 2003 12:13:52 +0300 Subject: log0log.c: Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler innobase/log/log0log.c: Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler --- innobase/log/log0log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'innobase') diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c index 99827da5bf5..1c7a79525e3 100644 --- a/innobase/log/log0log.c +++ b/innobase/log/log0log.c @@ -500,7 +500,7 @@ log_group_calc_lsn_offset( offset = (gr_lsn_size_offset + difference) % group_size; - ut_a(offset <= 0xFFFFFFFF); + ut_a(offset < (((ib_longlong) 1) << 32)); /* offset must be < 4 GB */ /* printf("Offset is %lu gr_lsn_offset is %lu difference is %lu\n", (ulint)offset,(ulint)gr_lsn_size_offset, (ulint)difference); -- cgit v1.2.1