diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-12 18:04:30 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-12 19:43:45 +0200 |
commit | c7920fa8ff0a29958cfd337bcb3f3fac8703256a (patch) | |
tree | d5c1744bbf7545c3caedbea3e1e387e37040e7ed /tpool | |
parent | 8be3794b42b0df6a0eb5a420d49a5c6dff58e138 (diff) | |
download | mariadb-git-c7920fa8ff0a29958cfd337bcb3f3fac8703256a.tar.gz |
MDEV-16264: Eliminate unsafe os_aio_userdata_t type cast
Diffstat (limited to 'tpool')
-rw-r--r-- | tpool/tpool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpool/tpool.h b/tpool/tpool.h index 403a7faba50..ae9baf236b0 100644 --- a/tpool/tpool.h +++ b/tpool/tpool.h @@ -137,7 +137,7 @@ struct aiocb int m_err; void *m_internal; task m_internal_task; - char m_userdata[MAX_AIO_USERDATA_LEN]; + alignas(8) char m_userdata[MAX_AIO_USERDATA_LEN]; aiocb() : m_internal_task(nullptr, nullptr) {} |