diff options
Diffstat (limited to 'gr-qtgui/python/qtgui/bindings/sink_f_python.cc')
-rw-r--r-- | gr-qtgui/python/qtgui/bindings/sink_f_python.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/python/qtgui/bindings/sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/sink_f_python.cc index 7bb98f0ec3..4c71bb2813 100644 --- a/gr-qtgui/python/qtgui/bindings/sink_f_python.cc +++ b/gr-qtgui/python/qtgui/bindings/sink_f_python.cc @@ -66,10 +66,10 @@ void bind_sink_f(py::module& m) // D(sink_f,pyqwidget) // ) // For the sip conversion to python to work, the widget object - // needs to be explicitly converted to Long + // needs to be explicitly converted to long long. .def( "pyqwidget", - [](std::shared_ptr<sink_f> p) { return PyLong_AsLong(p->pyqwidget()); }, + [](std::shared_ptr<sink_f> p) { return PyLong_AsLongLong(p->pyqwidget()); }, D(sink_f, pyqwidget)) |