COMP: Removed warning due to unsigned enum type.
This commit is contained in:
parent
80d7413806
commit
5ddaebb522
|
@ -39,7 +39,7 @@ const char* cmCacheManagerTypes[] =
|
||||||
|
|
||||||
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
|
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
|
||||||
{
|
{
|
||||||
if ( type > 6 || type < 0 )
|
if ( type > 6 )
|
||||||
{
|
{
|
||||||
return cmCacheManagerTypes[6];
|
return cmCacheManagerTypes[6];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue