Commit 22b0bb5a authored by marko's avatar marko

branches/zip: ut_align(): Make ptr const, like in ut_align_down().

parent a9458f49
...@@ -219,7 +219,7 @@ UNIV_INLINE ...@@ -219,7 +219,7 @@ UNIV_INLINE
void* void*
ut_align( ut_align(
/*=====*/ /*=====*/
void* ptr, /*!< in: pointer */ const void* ptr, /*!< in: pointer */
ulint align_no); /*!< in: align by this number */ ulint align_no); /*!< in: align by this number */
/*********************************************************//** /*********************************************************//**
The following function rounds down a pointer to the nearest The following function rounds down a pointer to the nearest
......
...@@ -319,7 +319,7 @@ UNIV_INLINE ...@@ -319,7 +319,7 @@ UNIV_INLINE
void* void*
ut_align( ut_align(
/*=====*/ /*=====*/
void* ptr, /*!< in: pointer */ const void* ptr, /*!< in: pointer */
ulint align_no) /*!< in: align by this number */ ulint align_no) /*!< in: align by this number */
{ {
ut_ad(align_no > 0); ut_ad(align_no > 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