]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix the 32-bit build on FreeBSD
authorVolker Lendecke <vl@samba.org>
Thu, 26 Nov 2020 13:23:24 +0000 (14:23 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 30 Nov 2020 22:24:38 +0000 (22:24 +0000)
log->rec_index is not size_t, it's uint64_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/notifyd/notifyd.c

index 601bd168cd85c68142ead632844da6582e5ef0d7..7d925d6c3b7658725b334d00048d82b0c874cc73 100644 (file)
@@ -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);