Skip to content

Commit fb0a2f9

Browse files
author
Omer Katz
authored
Merge pull request #124 from rodolfo-picoreti/master
fixes #79
2 parents 8ac1e37 + 3fa1d38 commit fb0a2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_librabbitmq/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ PyDict_to_basic_properties(PyObject *p,
741741
props->_flags |= AMQP_BASIC_PRIORITY_FLAG;
742742
}
743743
if ((value = PyDict_GetItemString(p, "timestamp")) != NULL) {
744-
props->timestamp = (uint8_t)PyInt_AS_LONG(value);
744+
props->timestamp = (uint64_t)PyInt_AS_LONG(value);
745745
props->_flags |= AMQP_BASIC_TIMESTAMP_FLAG;
746746
}
747747

0 commit comments

Comments
 (0)