Commit ba76cdb3 authored by Shane Snyder's avatar Shane Snyder
Browse files

fix compile warnings

parent 88d3b56d
...@@ -137,7 +137,7 @@ int main(int argc, char** argv) ...@@ -137,7 +137,7 @@ int main(int argc, char** argv)
// print the results of the read operations // print the results of the read operations
printf("Client received the following results:\n"); printf("Client received the following results:\n");
printf("stat: psize=%ld pmtime=%lld prval=%d\n", psize, pmtime, prval1); printf("stat: psize=%ld pmtime=%lld prval=%d\n", psize, (long long)pmtime, prval1);
printf("read: bytes_read=%ld prval=%d\n", bytes_read, prval2); printf("read: bytes_read=%ld prval=%d\n", bytes_read, prval2);
printf("omap_get_keys: prval=%d\n", prval3); printf("omap_get_keys: prval=%d\n", prval3);
printf("omap_get_vals: prval=%d\n", prval4); printf("omap_get_vals: prval=%d\n", prval4);
......
...@@ -84,7 +84,7 @@ int main(int argc, char** argv) ...@@ -84,7 +84,7 @@ int main(int argc, char** argv)
// print the results of the read operations // print the results of the read operations
printf("Client received the following results:\n"); printf("Client received the following results:\n");
printf("stat: psize=%ld pmtime=%lld prval=%d\n", psize, pmtime, prval1); printf("stat: psize=%ld pmtime=%lld prval=%d\n", psize, (long long)pmtime, prval1);
printf("read: bytes_read=%ld prval=%d\n", bytes_read, prval2); printf("read: bytes_read=%ld prval=%d\n", bytes_read, prval2);
printf("omap_get_keys: prval=%d\n", prval3); printf("omap_get_keys: prval=%d\n", prval3);
printf("omap_get_vals: prval=%d\n", prval4); printf("omap_get_vals: prval=%d\n", prval4);
......
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