fixes errors compiling netfs and netfs_server with gcc-4.7.3
Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
6b308faf1e
commit
a8e846d0f4
@@ -395,7 +395,7 @@ ShareAttrDir::GetAttribute(const char* name) const
|
||||
return attribute;
|
||||
}
|
||||
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// GetFirstAttribute
|
||||
|
||||
@@ -329,7 +329,7 @@ AttributeDirectory::GetAttribute(const char* name) const
|
||||
return attribute;
|
||||
}
|
||||
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// GetFirstAttribute
|
||||
|
||||
Reference in New Issue
Block a user