Introduced by "showmount: Try the highest mount version then fall back to lower ones", seen with "-Wextra". showmount.c: In function ‘main’: showmount.c:210: warning: comparison between signed and unsigned integer expressions showmount.c:249: warning: comparison between signed and unsigned integer expressions Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> --- utils/showmount/showmount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/showmount/showmount.c b/utils/showmount/showmount.c index 74cf116..652aa85 100644 --- a/utils/showmount/showmount.c +++ b/utils/showmount/showmount.c @@ -90,7 +90,7 @@ static const rpcvers_t mount_vers_tbl[] = { MOUNTVERS_POSIX, MOUNTVERS, }; -static const int max_vers_tblsz = +static const unsigned int max_vers_tblsz = (sizeof(mount_vers_tbl)/sizeof(mount_vers_tbl[0])); /* -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html