Patch by Vasilis Kaoutsis: Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -755,7 +755,7 @@ Area::Init(BALMLayout* ls, XTab* left, YTab* top, XTab* right, YTab* bottom,
|
|||||||
fPrefContentSize = kUndefinedSize;
|
fPrefContentSize = kUndefinedSize;
|
||||||
fShrinkRigidity = BSize(2, 2);
|
fShrinkRigidity = BSize(2, 2);
|
||||||
fExpandRigidity = BSize(1, 1);
|
fExpandRigidity = BSize(1, 1);
|
||||||
fContentAspectRatio = NULL;
|
fContentAspectRatio = 0;
|
||||||
fContentAspectRatioC = NULL;
|
fContentAspectRatioC = NULL;
|
||||||
|
|
||||||
fAutoPrefContentSize = false;
|
fAutoPrefContentSize = false;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ BALMLayout::SolveLayout()
|
|||||||
result = Solve();
|
result = Solve();
|
||||||
if (fPerformancePath != NULL) {
|
if (fPerformancePath != NULL) {
|
||||||
char buffer [100];
|
char buffer [100];
|
||||||
file->Write(buffer, sprintf(buffer, "%d\t%fms\t#vars=%d\t#constraints=%d\n",
|
file->Write(buffer, sprintf(buffer, "%d\t%fms\t#vars=%ld\t#constraints=%ld\n",
|
||||||
result, SolvingTime(), Variables()->CountItems(),
|
result, SolvingTime(), Variables()->CountItems(),
|
||||||
Constraints()->CountItems()));
|
Constraints()->CountItems()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user