COMP: fix build under windows

Alex
This commit is contained in:
Alexander Neundorf 2007-06-19 14:57:55 -04:00
parent c0d000d234
commit fa26785bd3
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void cmInstallExportGenerator::GenerateScript(std::ostream& os)
// for the case that somebody exports the same set with the same file name // for the case that somebody exports the same set with the same file name
// to different locations make the temp filename unique // to different locations make the temp filename unique
char buf[64]; char buf[64];
snprintf(buf, 64, "%p", this); sprintf(buf, "%p", this);
this->ExportFilename = this->TempOutputDir; this->ExportFilename = this->TempOutputDir;
this->ExportFilename += "/"; this->ExportFilename += "/";
this->ExportFilename += this->Filename; this->ExportFilename += this->Filename;