This commit is contained in:
alecf%netscape.com 2000-06-09 21:56:26 +00:00
Родитель 5d3a76913f
Коммит 7b8b74de36
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -442,7 +442,7 @@ nsProfile::ProcessArgs(nsICmdLineService *cmdLineArgs,
nsAutoString currProfileName; currProfileName.AssignWithConversion(cmdResult); nsAutoString currProfileName; currProfileName.AssignWithConversion(cmdResult);
#ifdef DEBUG_profile #ifdef DEBUG_profile
printf("ProfileName : %s\n", cmdResult); printf("ProfileName : %s\n", (const char*)cmdResult);
#endif /* DEBUG_profile */ #endif /* DEBUG_profile */
PRBool exists; PRBool exists;
rv = ProfileExists(currProfileName.GetUnicode(), &exists); rv = ProfileExists(currProfileName.GetUnicode(), &exists);
@ -519,7 +519,7 @@ nsProfile::ProcessArgs(nsICmdLineService *cmdLineArgs,
rv = locator->ForgetProfileDir(); rv = locator->ForgetProfileDir();
} }
#ifdef DEBUG_profile_verbose #ifdef DEBUG_profile_verbose
printf("profileName & profileDir are: %s\n", cmdResult); printf("profileName & profileDir are: %s\n", (const char*)cmdResult);
#endif /* DEBUG_profile */ #endif /* DEBUG_profile */
nsAutoString currProfileDir; currProfileDir.AssignWithConversion(currProfileDirSpec.GetNativePathCString()); nsAutoString currProfileDir; currProfileDir.AssignWithConversion(currProfileDirSpec.GetNativePathCString());