From 0401303263fd17805a349598216ade04b6e9a68a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 22 Aug 2002 09:17:02 -0400 Subject: fixed some warnings --- Source/cmCPluginAPI.cxx | 6 ++---- 1 file 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(arg); - return mf->GetCacheMajorVersion(); + return cmMakefile::GetCacheMajorVersion(); } unsigned int cmGetCacheMinorVersion(void *arg) { - cmMakefile *mf = static_cast(arg); - return mf->GetCacheMinorVersion(); + return cmMakefile::GetCacheMinorVersion(); } unsigned int cmGetMajorVersion(void *) -- cgit v0.12