mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
mgr: fix PyFormatter's dump_unsigned
Signed-off-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
parent
438a3f7bc4
commit
ac8b016b72
@ -38,7 +38,7 @@ void PyFormatter::open_object_section(const char *name)
|
||||
|
||||
void PyFormatter::dump_unsigned(const char *name, uint64_t u)
|
||||
{
|
||||
PyObject *p = PyLong_FromLongLong(u);
|
||||
PyObject *p = PyLong_FromUnsignedLong(u);
|
||||
ceph_assert(p);
|
||||
dump_pyobject(name, p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user