* 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:
parent
56ab1944d5
commit
cdc7175bfd
@ -464,7 +464,7 @@ Painter::StraightLine(BPoint a, BPoint b, const rgb_color& c) const
|
||||
if (a.y == b.y) {
|
||||
// horizontal
|
||||
int32 y = (int32)a.y;
|
||||
if (y < 0 || y >= fBuffer.height())
|
||||
if (y < 0 || y >= (int32)fBuffer.height())
|
||||
return true;
|
||||
|
||||
uint8* dst = fBuffer.row_ptr(y);
|
||||
|
Loading…
x
Reference in New Issue
Block a user