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:
Ingo Weinhold
2008-05-28 15:30:27 +00:00
parent d46a010c43
commit f2be4e8c4d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -755,7 +755,7 @@ Area::Init(BALMLayout* ls, XTab* left, YTab* top, XTab* right, YTab* bottom,
fPrefContentSize = kUndefinedSize;
fShrinkRigidity = BSize(2, 2);
fExpandRigidity = BSize(1, 1);
fContentAspectRatio = NULL;
fContentAspectRatio = 0;
fContentAspectRatioC = NULL;
fAutoPrefContentSize = false;
+1 -1
View File
@@ -73,7 +73,7 @@ BALMLayout::SolveLayout()
result = Solve();
if (fPerformancePath != NULL) {
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(),
Constraints()->CountItems()));
}