OS/2 Tinderbox break

Need cast for VisualAge


git-svn-id: svn://10.0.0.236/trunk@78869 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2000-09-12 12:28:31 +00:00
parent 937d270a8c
commit fa3fbcaa2a

View File

@@ -2091,7 +2091,7 @@ nsLocalFile::GetDirectoryEntries(nsISimpleEnumerator * *entries)
NS_IMETHODIMP nsLocalFile::GetURL(char * *aURL)
{
nsresult rv;
char* ePath = (char*) nsMemory::Clone(mWorkingPath, strlen(mWorkingPath)+1);
char* ePath = (char*) nsMemory::Clone((char*)mWorkingPath, strlen(mWorkingPath)+1);
if (ePath == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
// Replace \ with / to convert to an url