aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-04-20 11:50:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-04-20 11:50:37 +0000
commit7c43f4357d0ba0351af4ee5651ef2bf5286ab16f (patch)
tree33e66836ca998cd15a9875cf019f8beeacdb9cb1 /examples
parentacfb70f75061975deda1deb167da8e83249f92ed (diff)
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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index 46dc481021..e3192bbed5 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,