summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc')
-rw-r--r--gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc b/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc
index 558e5a7220..d713330eec 100644
--- a/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc
+++ b/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc
@@ -68,11 +68,11 @@ void bind_time_raster_sink_b(py::module& m)
// D(time_raster_sink_b,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<time_raster_sink_b> p) {
- return PyLong_AsLong(p->pyqwidget());
+ return PyLong_AsLongLong(p->pyqwidget());
},
D(time_raster_sink_b, pyqwidget))