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
This commit is contained in:
Chris Lattner 2013-02-10 05:45:34 +00:00
parent 85b3fbecdf
commit bf8f4cb0d5

View File

@ -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);