diff options
author | Chris Lattner <sabre@nondot.org> | 2013-02-10 05:45:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2013-02-10 05:45:34 +0000 |
commit | bf8f4cb0d5edc30854be46ec394d267b0c6013cd (patch) | |
tree | 17a076f228653b08837074333790bee7f8617993 /include/llvm | |
parent | 85b3fbecdfe934ac7519a8831c4bd262cba99d12 (diff) | |
download | external_llvm-bf8f4cb0d5edc30854be46ec394d267b0c6013cd.zip external_llvm-bf8f4cb0d5edc30854be46ec394d267b0c6013cd.tar.gz external_llvm-bf8f4cb0d5edc30854be46ec394d267b0c6013cd.tar.bz2 |
attempt to defeat a gcc warning that is breaking a -Werror buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Bitcode/BitstreamReader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/BitstreamReader.h b/include/llvm/Bitcode/BitstreamReader.h index dfbb5e2..9a8c370 100644 --- a/include/llvm/Bitcode/BitstreamReader.h +++ b/include/llvm/Bitcode/BitstreamReader.h @@ -369,7 +369,7 @@ public: typedef support::detail::packed_endian_specific_integral <word_t, support::little, support::unaligned> Endian_T; - CurWord = *reinterpret_cast<Endian_T*>(buf); + CurWord = *(Endian_T*)(void*)buf; NextChar += sizeof(word_t); |