[Mips] Explicitly cast ulittle32_t to the uint32_t to fix Visual Studio

compile error.

llvm-svn: 197344
This commit is contained in:
Simon Atanasyan 2013-12-15 13:22:24 +00:00
parent 64e6986e39
commit 735a29b267
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace {
inline void applyReloc(uint8_t *location, uint32_t result) {
auto target = reinterpret_cast<llvm::support::ulittle32_t *>(location);
*target = result | *target;
*target = result | uint32_t(*target);
}
/// \brief Calculate AHL value combines addends from 'hi' and 'lo' relocations.