summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmer Katz <omer.drow@gmail.com>2018-12-20 16:11:25 +0200
committerGitHub <noreply@github.com>2018-12-20 16:11:25 +0200
commitfb0a2f914dd764bc83afa2b6d1b85b66e397a5a6 (patch)
tree04569072dc3ff9c4d9370d458ecd08dbc3b792a4
parent8ac1e37e3866d459f3269c1f68a5fc6814b07e38 (diff)
parent3fa1d38c4e66e6efdbdc7d584abe0a59857bef29 (diff)
downloadlibrabbitmq-fb0a2f914dd764bc83afa2b6d1b85b66e397a5a6.tar.gz
Merge pull request #124 from rodolfo-picoreti/master
fixes #79
-rw-r--r--Modules/_librabbitmq/connection.c2
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;
}