summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/jvalue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jvalue.h b/runtime/jvalue.h
index 52a0f23361..398bfbc27a 100644
--- a/runtime/jvalue.h
+++ b/runtime/jvalue.h
@@ -29,7 +29,7 @@ namespace mirror {
class Object;
} // namespace mirror
-union PACKED(4) JValue {
+union PACKED(alignof(mirror::Object*)) JValue {
// We default initialize JValue instances to all-zeros.
JValue() : j(0) {}