1 Index: log4cpp-1.0/src/BasicLayout.cpp
2 ===================================================================
3 --- log4cpp-1.0.orig/src/BasicLayout.cpp 2008-03-14 16:06:57.000000000 -0400
4 +++ log4cpp-1.0/src/BasicLayout.cpp 2008-03-14 16:07:11.000000000 -0400
13 BasicLayout::BasicLayout() {
14 Index: log4cpp-1.0/src/PatternLayout.cpp
15 ===================================================================
16 --- log4cpp-1.0.orig/src/PatternLayout.cpp 2008-03-14 16:07:33.000000000 -0400
17 +++ log4cpp-1.0/src/PatternLayout.cpp 2008-03-14 16:07:49.000000000 -0400
21 if ((minWidth != 0) || (maxWidth != 0)) {
22 - component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0);
23 + component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0);
24 minWidth = maxWidth = 0;
26 _components.push_back(component);