Commit 12b589c3 authored by marko's avatar marko

page_zip_validate(): Replace %lu with %d, because the bit-fields

introduced in r1057 are of the int type.
parent 53853ee5
...@@ -2416,19 +2416,19 @@ page_zip_validate( ...@@ -2416,19 +2416,19 @@ page_zip_validate(
} }
if (page_zip->n_blobs != temp_page_zip.n_blobs) { if (page_zip->n_blobs != temp_page_zip.n_blobs) {
fprintf(stderr, fprintf(stderr,
"page_zip_validate(): n_blobs mismatch: %lu!=%lu\n", "page_zip_validate(): n_blobs mismatch: %d!=%d\n",
page_zip->n_blobs, temp_page_zip.n_blobs); page_zip->n_blobs, temp_page_zip.n_blobs);
valid = FALSE; valid = FALSE;
} }
if (page_zip->m_start != temp_page_zip.m_start) { if (page_zip->m_start != temp_page_zip.m_start) {
fprintf(stderr, fprintf(stderr,
"page_zip_validate(): m_start mismatch: %lu!=%lu\n", "page_zip_validate(): m_start mismatch: %d!=%d\n",
page_zip->m_start, temp_page_zip.m_start); page_zip->m_start, temp_page_zip.m_start);
valid = FALSE; valid = FALSE;
} }
if (page_zip->m_end != temp_page_zip.m_end) { if (page_zip->m_end != temp_page_zip.m_end) {
fprintf(stderr, fprintf(stderr,
"page_zip_validate(): m_end mismatch: %lu!=%lu\n", "page_zip_validate(): m_end mismatch: %d!=%d\n",
page_zip->m_end, temp_page_zip.m_end); page_zip->m_end, temp_page_zip.m_end);
valid = FALSE; valid = FALSE;
} }
......
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