summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/winrules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winrules.cpp b/src/winrules.cpp
index 1e745e9..a93c702 100644
--- a/src/winrules.cpp
+++ b/src/winrules.cpp
@@ -207,7 +207,7 @@ WinrulesWindow::matchSizeValue (CompOption::Value::Vector matches,
min = MIN ((unsigned int) min, heightValues.size ());
min = MIN ((unsigned int) min, matches.size ());
- for (unsigned int i = 0; i < min; i++)
+ for (int i = 0; i < min; i++)
{
if ((matches.at (i).match ().evaluate (window)))
{