Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
27d9c729
Commit
27d9c729
authored
Nov 30, 2017
by
zhaozhao.zz
Committed by
antirez
Jan 09, 2018
Browse files
aof: cast sdslen to ssize_t
parent
de4fb877
Changes
1
Show whitespace changes
Inline
Side-by-side
src/aof.c
View file @
27d9c729
...
@@ -363,7 +363,7 @@ void flushAppendOnlyFile(int force) {
...
@@ -363,7 +363,7 @@ void flushAppendOnlyFile(int force) {
/* We performed the write so reset the postponed flush sentinel to zero. */
/* We performed the write so reset the postponed flush sentinel to zero. */
server
.
aof_flush_postponed_start
=
0
;
server
.
aof_flush_postponed_start
=
0
;
if
(
nwritten
!=
(
s
igned
)
sdslen
(
server
.
aof_buf
))
{
if
(
nwritten
!=
(
s
size_t
)
sdslen
(
server
.
aof_buf
))
{
static
time_t
last_write_error_log
=
0
;
static
time_t
last_write_error_log
=
0
;
int
can_log
=
0
;
int
can_log
=
0
;
...
...
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