mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
log.cc:
Cast my_munmap() argument to be able to compile on Solaris
This commit is contained in:
@@ -2790,7 +2790,7 @@ void TC_LOG_MMAP::close()
|
||||
case 3:
|
||||
my_free((gptr)pages, MYF(0));
|
||||
case 2:
|
||||
my_munmap(data, (size_t)file_length);
|
||||
my_munmap((byte*)data, (size_t)file_length);
|
||||
case 1:
|
||||
my_close(fd, MYF(0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user