Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=16150
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
nidstrings.c
diff --git
a/libcfs/libcfs/nidstrings.c
b/libcfs/libcfs/nidstrings.c
index
9cf58b4
..
df02584
100644
(file)
--- a/
libcfs/libcfs/nidstrings.c
+++ b/
libcfs/libcfs/nidstrings.c
@@
-479,7
+479,7
@@
libcfs_str2nid(const char *str)
LASSERT (nf != NULL);
}
- if (!nf->nf_str2addr(str,
sep - str
, &addr))
+ if (!nf->nf_str2addr(str,
(int)(sep - str)
, &addr))
return LNET_NID_ANY;
return LNET_MKNID(net, addr);