Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c654cca5b4
commit
b237fdf90a
@ -403,6 +403,6 @@ LegendChartAxis::_EstimateMaxLegendCount(BView* view, BSize size,
|
||||
|
||||
// estimate the maximum legend count we might need
|
||||
if (fLocation == CHART_AXIS_LEFT || fLocation == CHART_AXIS_RIGHT)
|
||||
return (size.IntegerHeight() + 1) / (10 + *_vSpacing);
|
||||
return (size.IntegerWidth() + 1) / (20 + *_hSpacing);
|
||||
return (int32)((size.IntegerHeight() + 1) / (10 + *_vSpacing));
|
||||
return (int32)((size.IntegerWidth() + 1) / (20 + *_hSpacing));
|
||||
}
|
||||
|
@ -520,7 +520,7 @@ printf("failed to read event!\n");
|
||||
float scrollOffset = _ScrollOffset();
|
||||
double timeForX = (scrollOffset + x) * fUSecsPerPixel;
|
||||
|
||||
double factor = 4;
|
||||
uint32 factor = 4;
|
||||
if (steps < 0) {
|
||||
steps = -steps;
|
||||
factor = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user