diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 17:01:29 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 17:01:29 (GMT) |
commit | 5fe4a9dcef6c6a349b3c0a5f70c94f033e466441 (patch) | |
tree | 7ca6db465d64676d984e3685f05030068af277b4 /Source/kwsys/testCommandLineArguments.cxx | |
parent | 1ef5bdf669ce000f8b887fb9faf93b97c05339eb (diff) | |
download | CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.zip CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.tar.gz CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.tar.bz2 |
STYLE: Make sure to use the proper cast.
Diffstat (limited to 'Source/kwsys/testCommandLineArguments.cxx')
-rw-r--r-- | Source/kwsys/testCommandLineArguments.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testCommandLineArguments.cxx b/Source/kwsys/testCommandLineArguments.cxx index de7cf8c..73207c9 100644 --- a/Source/kwsys/testCommandLineArguments.cxx +++ b/Source/kwsys/testCommandLineArguments.cxx @@ -22,7 +22,7 @@ # include "kwsys_ios_iostream.h.in" #endif -void* random_ptr = (void*)0x123; +void* random_ptr = reinterpret_cast<void*>(0x123); int argument(const char* arg, const char* value, void* call_data) { |