Commit 7404b958 authored by antirez's avatar antirez
Browse files

Avoid compiler warning by casting to match printf() specifier.

parent 3419c8ce
...@@ -704,7 +704,8 @@ int memtest_test_linux_anonymous_maps(void) { ...@@ -704,7 +704,8 @@ int memtest_test_linux_anonymous_maps(void) {
start_vect[regions] = start_addr; start_vect[regions] = start_addr;
size_vect[regions] = size; size_vect[regions] = size;
printf("Testing %lx %lu\n", start_vect[regions], size_vect[regions]); printf("Testing %lx %lu\n", (unsigned long) start_vect[regions],
(unsigned long) size_vect[regions]);
regions++; regions++;
} }
......
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