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
7404b958
Commit
7404b958
authored
Feb 13, 2013
by
antirez
Browse files
Avoid compiler warning by casting to match printf() specifier.
parent
3419c8ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
7404b958
...
@@ -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
++
;
}
}
...
...
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