Commit 8739daee authored by Marko Mäkelä's avatar Marko Mäkelä

Fix a compiler warning caused by fixing Bug #57588 (compiler warning).

Declare DATA_MBMAXLEN with the same data type as DATA_MBMINLEN.
parent 67a0d9c0
...@@ -180,7 +180,7 @@ because in GCC it returns a long. */ ...@@ -180,7 +180,7 @@ because in GCC it returns a long. */
UNIV_EXPECT(((mbminmaxlen) % DATA_MBMAX), \ UNIV_EXPECT(((mbminmaxlen) % DATA_MBMAX), \
1)) 1))
/* Get mbmaxlen from mbminmaxlen. */ /* Get mbmaxlen from mbminmaxlen. */
#define DATA_MBMAXLEN(mbminmaxlen) ((mbminmaxlen) / DATA_MBMAX) #define DATA_MBMAXLEN(mbminmaxlen) ((ulint) ((mbminmaxlen) / DATA_MBMAX))
#ifndef UNIV_HOTBACKUP #ifndef UNIV_HOTBACKUP
/*********************************************************************//** /*********************************************************************//**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment