Files
void-packages/srcpkgs/herbstluftwm/patches/frametree.patch
2020-04-15 16:38:04 +02:00

12 lines
613 B
Diff

--- src/frametree.cpp 2020-04-15 08:33:59.781482744 -0400
+++ src/frametree.cpp 2020-04-15 08:34:43.006495582 -0400
@@ -505,7 +505,7 @@
output << "\"" << std::regex_replace(layoutString, whitespace, string(" "))
<< "\"" << endl;
// and underline the token
- int token_len = std::max(1ul, parsingResult.error_->first.second.size());
+ int token_len = std::max((size_t)1, parsingResult.error_->first.second.size());
output << " " // for the \" above
<< string(parsingResult.error_->first.first, ' ')
<< string(token_len, '~')