Browse Source

fixed some warnings

Ken Martin 23 years ago
parent
commit
0401303263
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Source/cmCPluginAPI.cxx

+ 2 - 4
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 *)