From d3b1c79d6368192cd64085361f890e8c79a9d39f Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Wed, 5 Jul 2000 13:48:12 +0000 Subject: [PATCH] #42637 r=sspitzer, a=brendan OS/2 bringup - VisualAge treats this like a cast - according to nsFileSpec.h, our way is correct git-svn-id: svn://10.0.0.236/trunk@73669 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/profile/Acct/nsAccount.cpp | 2 +- mozilla/profile/pref-migrator/src/nsPrefMigration.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/profile/Acct/nsAccount.cpp b/mozilla/profile/Acct/nsAccount.cpp index 03056fd32e4..493f27554ad 100644 --- a/mozilla/profile/Acct/nsAccount.cpp +++ b/mozilla/profile/Acct/nsAccount.cpp @@ -318,7 +318,7 @@ int nsAccount::IterateDirectoryChildren(nsFileSpec& startChild) { printf ("Inside the iteration \n"); - char* itemName = ((nsFileSpec&)i).GetLeafName(); + char* itemName = (i.Spec()).GetLeafName(); PL_strcpy(gNCIInfo[NCICount], itemName); mConsole << '\t' << itemName << nsEndl; mConsole << '\t' << "This is the arraynumber "<