Index: mojo/public/python/mojo/bindings/messaging.py |
diff --git a/mojo/public/python/mojo/bindings/messaging.py b/mojo/public/python/mojo/bindings/messaging.py |
index bba3c019666d44495e4c88d27e86270ddfda7343..f9061fb856bd279a2d91d1563bc03632a38b30cb 100644 |
--- a/mojo/public/python/mojo/bindings/messaging.py |
+++ b/mojo/public/python/mojo/bindings/messaging.py |
@@ -31,9 +31,9 @@ |
"""The header of a mojo message.""" |
_SIMPLE_MESSAGE_NUM_FIELDS = 2 |
- _SIMPLE_MESSAGE_STRUCT = struct.Struct("<IIII") |
- |
- _REQUEST_ID_STRUCT = struct.Struct("<Q") |
+ _SIMPLE_MESSAGE_STRUCT = struct.Struct("=IIII") |
+ |
+ _REQUEST_ID_STRUCT = struct.Struct("=Q") |
_REQUEST_ID_OFFSET = _SIMPLE_MESSAGE_STRUCT.size |
_MESSAGE_WITH_REQUEST_ID_NUM_FIELDS = 3 |