git: d109559ddbf7 - main - fusefs: fix 32-bit build of the tests after 91972cfcddf

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Mon, 29 Nov 2021 03:35:58 UTC
The branch main has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=d109559ddbf7afe311c1f1795ece137071406db8

commit d109559ddbf7afe311c1f1795ece137071406db8
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2021-11-29 03:34:32 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2021-11-29 03:35:42 +0000

    fusefs: fix 32-bit build of the tests after 91972cfcddf
    
    MFC after:      2 weeks
    MFC with:       91972cfcddf950d7a9c33df5a9171ada1805a144
---
 tests/sys/fs/fusefs/read.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/sys/fs/fusefs/read.cc b/tests/sys/fs/fusefs/read.cc
index 839b42a897e9..0888fbc913e8 100644
--- a/tests/sys/fs/fusefs/read.cc
+++ b/tests/sys/fs/fusefs/read.cc
@@ -432,7 +432,7 @@ TEST_F(Read, atime_during_close)
 				in.body.setattr.valid == valid &&
 				(time_t)in.body.setattr.atime ==
 					sb.st_atim.tv_sec &&
-				in.body.setattr.atimensec ==
+				(long)in.body.setattr.atimensec ==
 					sb.st_atim.tv_nsec);
 		}, Eq(true)),
 		_)
@@ -480,7 +480,7 @@ TEST_F(Read, atime_during_setattr)
 				in.body.setattr.valid == valid &&
 				(time_t)in.body.setattr.atime ==
 					sb.st_atim.tv_sec &&
-				in.body.setattr.atimensec ==
+				(long)in.body.setattr.atimensec ==
 					sb.st_atim.tv_nsec);
 		}, Eq(true)),
 		_)