fusefs: fix the 32-bit build after 351042

Reported by:	jhb
MFC after:	2 weeks
MFC-With:	351042
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Alan Somers 2019-08-15 00:23:03 +00:00
parent e67b122307
commit f6b344e560
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351061

View File

@ -842,7 +842,8 @@ void MockFS::read_request(mockfs_buf_in &in) {
* request,including header, even though fuse_out_header.len excludes
* the size of the header.
*/
ASSERT_TRUE(res == in.header.len || m_quit);
ASSERT_TRUE(res == static_cast<ssize_t>(sizeof(in.header.len)) ||
m_quit);
}
void MockFS::write_response(const mockfs_buf_out &out) {