Skip to content

Commit 7404b95

Browse files
committed
Avoid compiler warning by casting to match printf() specifier.
1 parent 3419c8c commit 7404b95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/debug.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,8 @@ int memtest_test_linux_anonymous_maps(void) {
704704

705705
start_vect[regions] = start_addr;
706706
size_vect[regions] = size;
707-
printf("Testing %lx %lu\n", start_vect[regions], size_vect[regions]);
707+
printf("Testing %lx %lu\n", (unsigned long) start_vect[regions],
708+
(unsigned long) size_vect[regions]);
708709
regions++;
709710
}
710711

0 commit comments

Comments
 (0)