Commit a12f1d0e authored by unknown's avatar unknown

log.cc:

  Cast my_munmap() argument to be able to compile on Solaris


sql/log.cc:
  Cast my_munmap() argument to be able to compile on Solaris
parent c3e8da4f
...@@ -2790,7 +2790,7 @@ void TC_LOG_MMAP::close() ...@@ -2790,7 +2790,7 @@ void TC_LOG_MMAP::close()
case 3: case 3:
my_free((gptr)pages, MYF(0)); my_free((gptr)pages, MYF(0));
case 2: case 2:
my_munmap(data, (size_t)file_length); my_munmap((byte*)data, (size_t)file_length);
case 1: case 1:
my_close(fd, MYF(0)); my_close(fd, MYF(0));
} }
......
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