Compile fix

This commit is contained in:
Joshua Granick
2019-04-01 14:20:27 -07:00
parent 303bb3c2a9
commit 37918d28bf

View File

@@ -221,6 +221,6 @@ class ImageBuffer
@:noCompletion private function get_stride():Int
{
return width * bitsPerPixel / 8;
return width * Std.int(bitsPerPixel / 8);
}
}