From: Volker Lendecke Date: Thu, 26 Nov 2020 13:23:24 +0000 (+0100) Subject: smbd: Fix the 32-bit build on FreeBSD X-Git-Tag: samba-4.14.0rc1~530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=efb3c7425e1e63f06fbb1523cadae6482ee8edfb;p=thirdparty%2Fsamba.git smbd: Fix the 32-bit build on FreeBSD log->rec_index is not size_t, it's uint64_t Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/notifyd/notifyd.c b/source3/smbd/notifyd/notifyd.c index 601bd168cd8..7d925d6c3b7 100644 --- a/source3/smbd/notifyd/notifyd.c +++ b/source3/smbd/notifyd/notifyd.c @@ -946,7 +946,7 @@ static void notifyd_broadcast_reclog(struct ctdbd_connection *ctdbd_conn, return; } - DBG_DEBUG("rec_index=%zu, num_recs=%"PRIu32"\n", + DBG_DEBUG("rec_index=%"PRIu64", num_recs=%"PRIu32"\n", log->rec_index, log->num_recs);