17809 r=av the sun c++ 5.0 compiler's version of strchr returns const char*
This fix is needed in order to be able to build with this compiler git-svn-id: svn://10.0.0.236/trunk@53378 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1762,7 +1762,7 @@ static int CompareExtensions(const char *aExtensionList, const char *aExtension)
|
||||
return -1;
|
||||
|
||||
const char *pExt = aExtensionList;
|
||||
char *pComma = strchr(pExt, ',');
|
||||
const char *pComma = strchr(pExt, ',');
|
||||
|
||||
if(pComma == nsnull)
|
||||
return strcmp(pExt, aExtension);
|
||||
|
||||
Reference in New Issue
Block a user