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:
akhil.arora%sun.com
1999-11-12 23:55:01 +00:00
parent 9d927bb510
commit acf8eb3875
2 changed files with 2 additions and 2 deletions

View File

@@ -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);