From ec38ff3ddb3e03052d1fbf5dfb23e956cdf8a61f 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 --- profile/Acct/nsAccount.cpp | 2 +- profile/pref-migrator/src/nsPrefMigration.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/profile/Acct/nsAccount.cpp b/profile/Acct/nsAccount.cpp index 03056fd32e4..493f27554ad 100644 --- a/profile/Acct/nsAccount.cpp +++ b/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 "<