summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
34ee573)
nfsumount.c: In function nfs_umount_is_vers4:
nfsumount.c:164: warning: conversion to int from size_t may alter its value
nfsumount.c:173: warning: conversion to ?size_t? from int may change the sign of the result
Introduced by commit
3564ebbf.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
- int nlen = strlen(pmc->m.mnt_fsname);
+ size_t nlen = strlen(pmc->m.mnt_fsname);
+
/*
* It's possible the mount location string in /proc/mounts
* ends with a '/'. In this case, if the entry came from
/*
* It's possible the mount location string in /proc/mounts
* ends with a '/'. In this case, if the entry came from