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())); }