* Fixed warning I just introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29862 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -464,7 +464,7 @@ Painter::StraightLine(BPoint a, BPoint b, const rgb_color& c) const
|
|||||||
if (a.y == b.y) {
|
if (a.y == b.y) {
|
||||||
// horizontal
|
// horizontal
|
||||||
int32 y = (int32)a.y;
|
int32 y = (int32)a.y;
|
||||||
if (y < 0 || y >= fBuffer.height())
|
if (y < 0 || y >= (int32)fBuffer.height())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
uint8* dst = fBuffer.row_ptr(y);
|
uint8* dst = fBuffer.row_ptr(y);
|
||||||
|
|||||||
Reference in New Issue
Block a user