From b4aa64bc3956b92b5457689b592c9e3f27c13409 Mon Sep 17 00:00:00 2001 From: Stuckinaboot Date: Fri, 5 Apr 2019 17:30:35 -0400 Subject: [PATCH] Change >I to >Q for 64-bit big endian int --- tests/pubsub/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pubsub/utils.py b/tests/pubsub/utils.py index 8aa3f88..056baac 100644 --- a/tests/pubsub/utils.py +++ b/tests/pubsub/utils.py @@ -18,7 +18,7 @@ def message_id_generator(start_val): val += 1 # Convert val to big endian - return struct.pack('>I', val) + return struct.pack('>Q', val) return generator