summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-19 18:57:55 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-19 18:57:55 (GMT)
commitfa26785bd395a85e924374f06a92f88a2ac97bb6 (patch)
tree2bc3d4f29a309e0606364566a39e7174c0b3abf8 /Source/cmInstallExportGenerator.cxx
parentc0d000d234525c709b8f6226d1c78c3cc0b632b3 (diff)
downloadCMake-fa26785bd395a85e924374f06a92f88a2ac97bb6.zip
CMake-fa26785bd395a85e924374f06a92f88a2ac97bb6.tar.gz
CMake-fa26785bd395a85e924374f06a92f88a2ac97bb6.tar.bz2
COMP: fix build under windows
Alex
Diffstat (limited to 'Source/cmInstallExportGenerator.cxx')
-rw-r--r--Source/cmInstallExportGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx
index 171cf32..5ca2e01 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;