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
hiredis
Commits
c7267235
"examples/example-libuv.c" did not exist on "0f745d1ac0acc4fa0614ea441272a6f75ff24f71"
Unverified
Commit
c7267235
authored
Jun 01, 2020
by
Aureus
Committed by
GitHub
Jun 01, 2020
Browse files
Use explicit pointer casting for c++ compatibility (#826)
parent
4152bfce
Changes
1
Show whitespace changes
Inline
Side-by-side
adapters/libev.h
View file @
c7267235
...
...
@@ -121,12 +121,12 @@ static void redisLibevCleanup(void *privdata) {
static
void
redisLibevTimeout
(
EV_P_
ev_timer
*
timer
,
int
revents
)
{
((
void
)
revents
);
redisLibevEvents
*
e
=
timer
->
data
;
redisLibevEvents
*
e
=
(
redisLibevEvents
*
)
timer
->
data
;
redisAsyncHandleTimeout
(
e
->
context
);
}
static
void
redisLibevSetTimeout
(
void
*
privdata
,
struct
timeval
tv
)
{
redisLibevEvents
*
e
=
privdata
;
redisLibevEvents
*
e
=
(
redisLibevEvents
*
)
privdata
;
struct
ev_loop
*
loop
=
e
->
loop
;
((
void
)
loop
);
...
...
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