ssynth: Fix warning about conversion of 0 to nullptr

This commit is contained in:
Ryan Pavlik 2019-12-06 11:25:24 -06:00
parent cb48621db8
commit cf6804fcce

View File

@ -122,7 +122,7 @@ namespace SyntopiaCore {
currentT = p;
// We do not intersect grid.
if (!found) return 0; //nullptr;
if (!found) return nullptr;
}
stepX = (dir.x() > 0) ? 1 : -1;