diff options
author | Omer Katz <omer.drow@gmail.com> | 2018-12-20 16:11:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 16:11:25 +0200 |
commit | fb0a2f914dd764bc83afa2b6d1b85b66e397a5a6 (patch) | |
tree | 04569072dc3ff9c4d9370d458ecd08dbc3b792a4 | |
parent | 8ac1e37e3866d459f3269c1f68a5fc6814b07e38 (diff) | |
parent | 3fa1d38c4e66e6efdbdc7d584abe0a59857bef29 (diff) | |
download | librabbitmq-fb0a2f914dd764bc83afa2b6d1b85b66e397a5a6.tar.gz |
Merge pull request #124 from rodolfo-picoreti/master
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; } |