From fa26785bd395a85e924374f06a92f88a2ac97bb6 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 19 Jun 2007 14:57:55 -0400 Subject: [PATCH] COMP: fix build under windows Alex --- Source/cmInstallExportGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx index 171cf3237..5ca2e01f5 100644 --- a/Source/cmInstallExportGenerator.cxx +++ b/Source/cmInstallExportGenerator.cxx @@ -161,7 +161,7 @@ void cmInstallExportGenerator::GenerateScript(std::ostream& os) // for the case that somebody exports the same set with the same file name // to different locations make the temp filename unique char buf[64]; - snprintf(buf, 64, "%p", this); + sprintf(buf, "%p", this); this->ExportFilename = this->TempOutputDir; this->ExportFilename += "/"; this->ExportFilename += this->Filename;