summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-03-05 00:43:02 +0000
committerRui Ueyama <ruiu@google.com>2014-03-05 00:43:02 +0000
commitda96b2e19f8e2fefdf1b3d8c9be5091ecff30224 (patch)
tree1c88c4ea5bb426dec0fbcdd5aaa774e027cfcbb5 /include
parente553a3ba42072f820e4eb9285189924dd3c1814f (diff)
downloadllvm-da96b2e19f8e2fefdf1b3d8c9be5091ecff30224.tar.gz
llvm-da96b2e19f8e2fefdf1b3d8c9be5091ecff30224.tar.bz2
llvm-da96b2e19f8e2fefdf1b3d8c9be5091ecff30224.tar.xz
Partially roll back r202915.
I did not intend to cast a pointer to ulittle32_t there because the return type is const void*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Win64EH.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/Win64EH.h b/include/llvm/Support/Win64EH.h
index 8966c0d04e..7ca218e87a 100644
--- a/include/llvm/Support/Win64EH.h
+++ b/include/llvm/Support/Win64EH.h
@@ -108,8 +108,7 @@ struct UnwindInfo {
/// \brief Return pointer to language specific data part of UnwindInfo.
const void *getLanguageSpecificData() const {
- return reinterpret_cast<const support::ulittle32_t *>(
- &UnwindCodes[(NumCodes + 1) & ~1]);
+ return reinterpret_cast<const void *>(&UnwindCodes[(NumCodes + 1) & ~1]);
}
/// \brief Return image-relative offset of language-specific exception handler.