Index: mojo/public/c/system/data_pipe.h |
diff --git a/mojo/public/c/system/data_pipe.h b/mojo/public/c/system/data_pipe.h |
index 511858df76d8cde20e17c4870e156396ede05cdf..1313448ebdc235cce18550ea7e5e60bd64bd96c7 100644 |
--- a/mojo/public/c/system/data_pipe.h |
+++ b/mojo/public/c/system/data_pipe.h |
@@ -46,7 +46,8 @@ const MojoCreateDataPipeOptionsFlags |
((MojoCreateDataPipeOptionsFlags) 1 << 0) |
#endif |
-struct MojoCreateDataPipeOptions { |
+MOJO_COMPILE_ASSERT(MOJO_ALIGNOF(int64_t) == 8, int64_t_has_weird_alignment); |
+struct MOJO_ALIGNAS(8) MojoCreateDataPipeOptions { |
uint32_t struct_size; |
MojoCreateDataPipeOptionsFlags flags; |
uint32_t element_num_bytes; |