1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

attempt to defeat a gcc warning that is breaking a -Werror buildbot.

llvm-svn: 174825
This commit is contained in:
Chris Lattner 2013-02-10 05:45:34 +00:00
parent eb7e06de6d
commit 2f0d5c4436

View File

@ -369,7 +369,7 @@ public:
typedef support::detail::packed_endian_specific_integral typedef support::detail::packed_endian_specific_integral
<word_t, support::little, support::unaligned> Endian_T; <word_t, support::little, support::unaligned> Endian_T;
CurWord = *reinterpret_cast<Endian_T*>(buf); CurWord = *(Endian_T*)(void*)buf;
NextChar += sizeof(word_t); NextChar += sizeof(word_t);