Commit 0b92fe9c authored by Jan Lindström's avatar Jan Lindström

Fixed windows compiler errors.

parent cd8c3b74
......@@ -132,7 +132,7 @@ fil_compress_page(
}
} else {
#endif /* HAVE_LZ4 */
err = compress2(out_buf+header_len, &write_size, buf, len, level);
err = compress2(out_buf+header_len, (ulong*)&write_size, buf, len, level);
if (err != Z_OK) {
/* If error we leave the actual page as it was */
......
......@@ -132,7 +132,7 @@ fil_compress_page(
}
} else {
#endif /* HAVE_LZ4 */
err = compress2(out_buf+header_len, &write_size, buf, len, level);
err = compress2(out_buf+header_len, (ulong *)&write_size, buf, len, level);
if (err != Z_OK) {
/* If error we leave the actual page as it was */
......
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