[llvm-commits] [llvm] r101894 - /llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Apr 20 04:50:37 PDT 2010
Author: d0k
Date: Tue Apr 20 06:50:37 2010
New Revision: 101894
URL: http://llvm.org/viewvc/llvm-project?rev=101894&view=rev
Log:
Fix -Wcast-qual warning.
Modified:
llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
Modified: llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp?rev=101894&r1=101893&r2=101894&view=diff
==============================================================================
--- llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp (original)
+++ llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp Tue Apr 20 06:50:37 2010
@@ -813,8 +813,7 @@
}
#endif
- const uint8_t* lsda = (uint8_t*)
- _Unwind_GetLanguageSpecificData(context);
+ const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context);
#ifdef DEBUG
fprintf(stderr,
More information about the llvm-commits
mailing list