mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
12 lines
578 B
Diff
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);
|