diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-13 13:27:10 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-13 13:27:10 (GMT) |
commit | 4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde (patch) | |
tree | d9c498dcace58ec370290bb82eff6002d90dd67a /Source/cmStandardIncludes.h | |
parent | d2710d514268813d0b0291c6d5571ee6638b8b7b (diff) | |
download | CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.zip CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.gz CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index f40945c..39a6059 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -341,7 +341,7 @@ static thisClass* SafeDownCast(cmObject *c) \ { \ if ( c && c->IsA(#thisClass) ) \ { \ - return (thisClass *)c; \ + return static_cast<thisClass *>(c); \ } \ return 0;\ } |