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
- many gcc4 compilation fixes (warnings)
[fs/lustre-release.git]
/
lustre
/
utils
/
liblustreapi.c
diff --git
a/lustre/utils/liblustreapi.c
b/lustre/utils/liblustreapi.c
index
fcd5016
..
b7c2a66
100644
(file)
--- a/
lustre/utils/liblustreapi.c
+++ b/
lustre/utils/liblustreapi.c
@@
-292,7
+292,7
@@
static int setup_obd_uuids(DIR *dir, char *dname, struct find_param *param)
if (param->obduuid) {
for (i = 0, uuidp = uuids; i < obdcount; i++, uuidp++) {
- if (strncmp(
param->obduuid->uuid,
uuidp->uuid,
+ if (strncmp(
(char *)param->obduuid->uuid, (char *)
uuidp->uuid,
sizeof(*uuidp)) == 0) {
param->obdindex = i;
break;