diff options
author | Rodolfo Picoreti <rodolfo.picoreti@gmail.com> | 2018-07-27 22:53:06 +0100 |
---|---|---|
committer | Rodolfo Picoreti <rodolfo.picoreti@gmail.com> | 2018-07-27 22:53:06 +0100 |
commit | 3fa1d38c4e66e6efdbdc7d584abe0a59857bef29 (patch) | |
tree | 04569072dc3ff9c4d9370d458ecd08dbc3b792a4 | |
parent | 8ac1e37e3866d459f3269c1f68a5fc6814b07e38 (diff) | |
download | librabbitmq-3fa1d38c4e66e6efdbdc7d584abe0a59857bef29.tar.gz |
fixes #79
-rw-r--r-- | Modules/_librabbitmq/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_librabbitmq/connection.c b/Modules/_librabbitmq/connection.c index 54f2427..ee9b122 100644 --- a/Modules/_librabbitmq/connection.c +++ b/Modules/_librabbitmq/connection.c @@ -741,7 +741,7 @@ PyDict_to_basic_properties(PyObject *p, props->_flags |= AMQP_BASIC_PRIORITY_FLAG; } if ((value = PyDict_GetItemString(p, "timestamp")) != NULL) { - props->timestamp = (uint8_t)PyInt_AS_LONG(value); + props->timestamp = (uint64_t)PyInt_AS_LONG(value); props->_flags |= AMQP_BASIC_TIMESTAMP_FLAG; } |