Skip to content

Commit

Permalink
Partially roll back r202915.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rui314 committed Mar 5, 2014
1 parent e553a3b commit da96b2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/llvm/Support/Win64EH.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit da96b2e

Please sign in to comment.