summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-22 13:17:02 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-22 13:17:02 (GMT)
commit0401303263fd17805a349598216ade04b6e9a68a (patch)
tree65566724d1b4cd1023bf82cfa0fc83576b9426f9 /Source/cmCPluginAPI.cxx
parent470e057e550de1f2c0fc292d30260bb5130c9d58 (diff)
downloadCMake-0401303263fd17805a349598216ade04b6e9a68a.zip
CMake-0401303263fd17805a349598216ade04b6e9a68a.tar.gz
CMake-0401303263fd17805a349598216ade04b6e9a68a.tar.bz2
fixed some warnings
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index f1189f4..91dee20 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -34,13 +34,11 @@ void cmSetClientData(void *info, void *cd)
unsigned int cmGetCacheMajorVersion(void *arg)
{
- cmMakefile *mf = static_cast<cmMakefile *>(arg);
- return mf->GetCacheMajorVersion();
+ return cmMakefile::GetCacheMajorVersion();
}
unsigned int cmGetCacheMinorVersion(void *arg)
{
- cmMakefile *mf = static_cast<cmMakefile *>(arg);
- return mf->GetCacheMinorVersion();
+ return cmMakefile::GetCacheMinorVersion();
}
unsigned int cmGetMajorVersion(void *)