From: Volker Lendecke Date: Wed, 17 Jul 2019 19:52:55 +0000 (+0200) Subject: lib: Fix the 32-bit build X-Git-Tag: talloc-2.3.0~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0fc1ca65abd49d5391ea1213c78c2bc22641c36;p=thirdparty%2Fsamba.git 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 --- 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;