fixed some warnings

This commit is contained in:
Ken Martin 2002-08-22 09:17:02 -04:00
parent 470e057e55
commit 0401303263
1 changed files with 2 additions and 4 deletions

View File

@ -34,13 +34,11 @@ void cmSetClientData(void *info, void *cd)
unsigned int cmGetCacheMajorVersion(void *arg) unsigned int cmGetCacheMajorVersion(void *arg)
{ {
cmMakefile *mf = static_cast<cmMakefile *>(arg); return cmMakefile::GetCacheMajorVersion();
return mf->GetCacheMajorVersion();
} }
unsigned int cmGetCacheMinorVersion(void *arg) unsigned int cmGetCacheMinorVersion(void *arg)
{ {
cmMakefile *mf = static_cast<cmMakefile *>(arg); return cmMakefile::GetCacheMinorVersion();
return mf->GetCacheMinorVersion();
} }
unsigned int cmGetMajorVersion(void *) unsigned int cmGetMajorVersion(void *)