From cf3b6ccb5b1ef05c6a8eb9676a9bb79fecdf2759 Mon Sep 17 00:00:00 2001 From: kobalicek Date: Mon, 15 Sep 2014 09:12:19 +0200 Subject: [PATCH] Fixed structure alignment linker warning (MSVC) related to Operand. --- src/asmjit/base/operand.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/asmjit/base/operand.cpp b/src/asmjit/base/operand.cpp index ed67f90..04a8493 100644 --- a/src/asmjit/base/operand.cpp +++ b/src/asmjit/base/operand.cpp @@ -26,12 +26,11 @@ struct Operand { uint8_t reserved_2_1; uint8_t reserved_3_1; uint32_t id; - uint32_t reserved_8_4; - uint32_t reserved_12_4; + uint64_t reserved_8_8; }; ASMJIT_VAR const Operand noOperand; -const Operand noOperand = { 0, 0, 0, 0, kInvalidValue, 0, 0 }; +const Operand noOperand = { 0, 0, 0, 0, kInvalidValue, 0 }; } // asmjit namespace