From b0fc1ca65abd49d5391ea1213c78c2bc22641c36 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 17 Jul 2019 21:52:55 +0200 Subject: [PATCH] lib: Fix the 32-bit build Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Thu Jul 18 12:55:30 UTC 2019 on sn-devel-184 --- source3/lib/adouble.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 4e2d9e01b48..9690f65b8a7 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -1638,7 +1638,7 @@ static bool ad_collect_one_stream(struct vfs_handle_struct *handle, if (stream->size != AFP_INFO_SIZE) { DBG_ERR("Bad size [%zd] on [%s]\n", - stream->size, + (ssize_t)stream->size, smb_fname_str_dbg(sname)); ok = false; goto out; @@ -1647,7 +1647,7 @@ static bool ad_collect_one_stream(struct vfs_handle_struct *handle, nread = SMB_VFS_PREAD(fsp, buf, stream->size, 0); if (nread != AFP_INFO_SIZE) { DBG_ERR("Bad size [%zd] on [%s]\n", - stream->size, + (ssize_t)stream->size, smb_fname_str_dbg(sname)); ok = false; goto out; @@ -1684,7 +1684,7 @@ static bool ad_collect_one_stream(struct vfs_handle_struct *handle, 0); if (nread != stream->size) { DBG_ERR("Bad size [%zd] on [%s]\n", - stream->size, + (ssize_t)stream->size, smb_fname_str_dbg(sname)); ok = false; goto out; @@ -1780,7 +1780,7 @@ static bool ad_collect_one_stream(struct vfs_handle_struct *handle, 0); if (nread != stream->size) { DBG_ERR("Bad size [%zd] on [%s]\n", - stream->size, + (ssize_t)stream->size, smb_fname_str_dbg(sname)); ok = false; goto out; -- 2.11.4.GIT