mgr: fix PyFormatter's dump_unsigned

Signed-off-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
Mykola Golub 2018-11-14 09:26:03 +02:00
parent 438a3f7bc4
commit ac8b016b72

View File

@ -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);
}