Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3b4c0d80
Commit
3b4c0d80
authored
Feb 13, 2013
by
antirez
Browse files
Avoid compiler warning by casting to match printf() specifier.
parent
d96a66f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
3b4c0d80
...
...
@@ -704,7 +704,8 @@ int memtest_test_linux_anonymous_maps(void) {
start_vect
[
regions
]
=
start_addr
;
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
++
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment