Commit 4e68fafa authored by Sergei Golubchik's avatar Sergei Golubchik

compilation failure on Win64

cannot use &ulint_var (where ulint == unsigned __int64)
where (ulong *) is expected (in uncompress() and in "%lu")
parent 8eaa1d90
...@@ -232,7 +232,7 @@ fil_decompress_page( ...@@ -232,7 +232,7 @@ fil_decompress_page(
byte* page_buf, /*!< in: preallocated buffer or NULL */ byte* page_buf, /*!< in: preallocated buffer or NULL */
byte* buf, /*!< out: buffer from which to read; in aio byte* buf, /*!< out: buffer from which to read; in aio
this must be appropriately aligned */ this must be appropriately aligned */
ulint len, /*!< in: length of output buffer.*/ ulong len, /*!< in: length of output buffer.*/
ulint* write_size) /*!< in/out: Actual payload size of ulint* write_size) /*!< in/out: Actual payload size of
the compressed data. */ the compressed data. */
{ {
......
...@@ -99,7 +99,7 @@ fil_decompress_page( ...@@ -99,7 +99,7 @@ fil_decompress_page(
byte* page_buf, /*!< in: preallocated buffer or NULL */ byte* page_buf, /*!< in: preallocated buffer or NULL */
byte* buf, /*!< out: buffer from which to read; in aio byte* buf, /*!< out: buffer from which to read; in aio
this must be appropriately aligned */ this must be appropriately aligned */
ulint len, /*!< in: length of output buffer.*/ ulong len, /*!< in: length of output buffer.*/
ulint* write_size); /*!< in/out: Actual payload size of ulint* write_size); /*!< in/out: Actual payload size of
the compressed data. */ the compressed data. */
......
...@@ -232,7 +232,7 @@ fil_decompress_page( ...@@ -232,7 +232,7 @@ fil_decompress_page(
byte* page_buf, /*!< in: preallocated buffer or NULL */ byte* page_buf, /*!< in: preallocated buffer or NULL */
byte* buf, /*!< out: buffer from which to read; in aio byte* buf, /*!< out: buffer from which to read; in aio
this must be appropriately aligned */ this must be appropriately aligned */
ulint len, /*!< in: length of output buffer.*/ ulong len, /*!< in: length of output buffer.*/
ulint* write_size) /*!< in/out: Actual payload size of ulint* write_size) /*!< in/out: Actual payload size of
the compressed data. */ the compressed data. */
{ {
......
...@@ -99,7 +99,7 @@ fil_decompress_page( ...@@ -99,7 +99,7 @@ fil_decompress_page(
byte* page_buf, /*!< in: preallocated buffer or NULL */ byte* page_buf, /*!< in: preallocated buffer or NULL */
byte* buf, /*!< out: buffer from which to read; in aio byte* buf, /*!< out: buffer from which to read; in aio
this must be appropriately aligned */ this must be appropriately aligned */
ulint len, /*!< in: length of output buffer.*/ ulong len, /*!< in: length of output buffer.*/
ulint* write_size); /*!< in/out: Actual payload size of ulint* write_size); /*!< in/out: Actual payload size of
the compressed data. */ the compressed data. */
......
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