aboutsummaryrefslogtreecommitdiff
path: root/io/channel-websock.c
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2022-09-08 21:28:15 +0800
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commitebdebe47283dd7d20d88834f03f741758419c254 (patch)
tree8396e82bfba131d8ff4dd5d0678ab636a905d95e /io/channel-websock.c
parent142e6907120d12de1e7ac402e556597ebbab86e8 (diff)
downloadqemu-ebdebe47283dd7d20d88834f03f741758419c254.zip
qemu-ebdebe47283dd7d20d88834f03f741758419c254.tar.gz
qemu-ebdebe47283dd7d20d88834f03f741758419c254.tar.bz2
block/nfs: Fix 32-bit Windows build
libnfs.h declares nfs_fstat() as the following for win32: int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct __stat64 *st); The 'st' parameter should be of type 'struct __stat64'. The codes happen to build successfully for 64-bit Windows, but it does not build for 32-bit Windows. Fixes: 6542aa9c75bc ("block: add native support for NFS") Fixes: 18a8056e0bc7 ("block/nfs: cache allocated filesize for read-only files") Signed-off-by: Bin Meng <bin.meng@windriver.com> Message-Id: <20220908132817.1831008-6-bmeng.cn@gmail.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'io/channel-websock.c')
0 files changed, 0 insertions, 0 deletions