gentoo/dev-libs/log4cpp/files/log4cpp-1.1.4-gcc43.patch
Arthur Zamarin aef0ef66bf
dev-libs/log4cpp: add 1.1.4
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-02-23 20:33:14 +02:00

12 lines
578 B
Diff

--- a/src/PatternLayout.cpp
+++ b/src/PatternLayout.cpp
@@ -373,7 +373,7 @@
literal = "";
}
if ((minWidth != 0) || (maxWidth != 0)) {
- component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0);
+ component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0);
minWidth = maxWidth = 0;
}
_components.push_back(component);