use custom __m128 struct on non-win32 platforms to provide element-wise access

explicitly cast param for set_constant to correctly resolve overloaded function
This commit is contained in:
Anthony Pesch
2014-05-13 23:46:42 -07:00
parent c6cdf1f672
commit 0e6c47aac5
3 changed files with 17 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ int IVMAssembler::Assemble(
size_t type_size = GetTypeSize(slot->type);
// Align to natural size.
stack_offset = XEALIGN(stack_offset, type_size);
slot->set_constant(stack_offset);
slot->set_constant((uint32_t)stack_offset);
stack_offset += type_size;
}
// Ensure 16b alignment.