diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-20 11:50:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-20 11:50:37 +0000 |
commit | 7c43f4357d0ba0351af4ee5651ef2bf5286ab16f (patch) | |
tree | 33e66836ca998cd15a9875cf019f8beeacdb9cb1 /examples | |
parent | acfb70f75061975deda1deb167da8e83249f92ed (diff) | |
download | external_llvm-7c43f4357d0ba0351af4ee5651ef2bf5286ab16f.zip external_llvm-7c43f4357d0ba0351af4ee5651ef2bf5286ab16f.tar.gz external_llvm-7c43f4357d0ba0351af4ee5651ef2bf5286ab16f.tar.bz2 |
Fix -Wcast-qual warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ExceptionDemo/ExceptionDemo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp index 46dc481..e3192bb 100644 --- a/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/examples/ExceptionDemo/ExceptionDemo.cpp @@ -813,8 +813,7 @@ _Unwind_Reason_Code ourPersonality(int version, } #endif - const uint8_t* lsda = (uint8_t*) - _Unwind_GetLanguageSpecificData(context); + const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context); #ifdef DEBUG fprintf(stderr, |