From 7c43f4357d0ba0351af4ee5651ef2bf5286ab16f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 20 Apr 2010 11:50:37 +0000 Subject: Fix -Wcast-qual warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101894 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/ExceptionDemo/ExceptionDemo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') 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, -- cgit v1.2.3