Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 217755
Collapse All | Expand All

(-)log4cpp-1.0.orig/src/BasicLayout.cpp (+2 lines)
Lines 15-20 Link Here
15
#include <sstream>
15
#include <sstream>
16
#endif
16
#endif
17
17
18
#include <memory>
19
18
namespace log4cpp {
20
namespace log4cpp {
19
21
20
    BasicLayout::BasicLayout() {
22
    BasicLayout::BasicLayout() {
(-)log4cpp-1.0.orig/src/PatternLayout.cpp (-1 / +1 lines)
Lines 370-376 Link Here
370
                        literal = "";
370
                        literal = "";
371
                    }
371
                    }
372
                    if ((minWidth != 0) || (maxWidth != 0)) {
372
                    if ((minWidth != 0) || (maxWidth != 0)) {
373
                        component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0);
373
                        component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0);
374
                        minWidth = maxWidth = 0;
374
                        minWidth = maxWidth = 0;
375
                    }
375
                    }
376
                    _components.push_back(component);
376
                    _components.push_back(component);

Return to bug 217755