Fixed gcc 4 warnings.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31297 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-06-28 16:38:32 +00:00
parent 9e347ade99
commit aa6b2770fc
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ DataView::DrawSelectionFrame(view_focus which)
// *********
BRect rect;
if (start == 0 || !drawBlock && !drawLastLine)
if (start == 0 || (!drawBlock && !drawLastLine))
rect = firstLine;
else if (drawBlock)
rect = block;
+8
View File
@@ -92,6 +92,7 @@ class PositionSlider : public BSlider {
off_t Size() const { return fSize; }
uint32 BlockSize() const { return fBlockSize; }
virtual void SetPosition(float position);
void SetPosition(off_t position);
void SetSize(off_t size);
void SetBlockSize(uint32 blockSize);
@@ -414,6 +415,13 @@ PositionSlider::Position() const
}
void
PositionSlider::SetPosition(float position)
{
BSlider::SetPosition(position);
}
void
PositionSlider::SetPosition(off_t position)
{