More integer type cleanup for the voronoi python interface

This commit is contained in:
Markus Lampert
2020-09-29 17:02:57 -07:00
committed by sliptonic
parent e3c476af21
commit e97f7a8a54
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ Py::Long VoronoiCellPy::getColor(void) const {
}
void VoronoiCellPy::setColor(Py::Long color) {
getCellFromPy(this)->color(int(color) & Voronoi::ColorMask);
getCellFromPy(this)->color(long(color) & Voronoi::ColorMask);
}
Py::Long VoronoiCellPy::getSourceIndex(void) const