mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +00:00
aof: cast sdslen to ssize_t
This commit is contained in:
parent
de4fb877e8
commit
27d9c729e5
@ -363,7 +363,7 @@ void flushAppendOnlyFile(int force) {
|
||||
/* We performed the write so reset the postponed flush sentinel to zero. */
|
||||
server.aof_flush_postponed_start = 0;
|
||||
|
||||
if (nwritten != (signed)sdslen(server.aof_buf)) {
|
||||
if (nwritten != (ssize_t)sdslen(server.aof_buf)) {
|
||||
static time_t last_write_error_log = 0;
|
||||
int can_log = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user