From f2be4e8c4dae5168e3135ecf290bc543b910a275 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 28 May 2008 15:30:27 +0000 Subject: [PATCH] Patch by Vasilis Kaoutsis: Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25683 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/libs/alm/Area.cpp | 2 +- src/libs/alm/BALMLayout.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/alm/Area.cpp b/src/libs/alm/Area.cpp index 4426498e0f..ee5104b1b7 100644 --- a/src/libs/alm/Area.cpp +++ b/src/libs/alm/Area.cpp @@ -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; diff --git a/src/libs/alm/BALMLayout.cpp b/src/libs/alm/BALMLayout.cpp index dd78ea337e..dfd512991c 100644 --- a/src/libs/alm/BALMLayout.cpp +++ b/src/libs/alm/BALMLayout.cpp @@ -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())); }