From 321bc2b901bbffe78b9ded76766d47cfcb294391 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Fri, 25 Mar 2016 05:08:35 +0300 Subject: [PATCH] mdbx: fix one more minor warning. Change-Id: I80466714d739fc46aedbedfee0919b64704ffc37 --- mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdb.c b/mdb.c index 6313fd99..9faa8156 100644 --- a/mdb.c +++ b/mdb.c @@ -1589,7 +1589,7 @@ mdb_kill_page(MDB_env *env, pgno_t pgno) iov[0].iov_base = alloca(iov[0].iov_len); memset(iov[0].iov_base, 0x6F /* 'o', 111 */, iov[0].iov_len); ssize_t rc = pwritev(env->me_fd, iov, 1, offs + shift); - assert(rc == iov[0].iov_len); + assert(rc == (ssize_t) iov[0].iov_len); (void) rc; } }