summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-05 11:30:47 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-05 11:30:47 +0800
commited8d774d357b97f048966934f549e0fc0386a5cf (patch)
treee1c6d1ae4e4ab1264e4e8a357990a71d90e8f1be
parentb8a99bd455eee19407aa469f7b6fe7a60b3c9ab6 (diff)
downloadwinrules-ed8d774d357b97f048966934f549e0fc0386a5cf.tar.gz
winrules-ed8d774d357b97f048966934f549e0fc0386a5cf.tar.bz2
Fix warning
-rw-r--r--src/winrules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winrules.cpp b/src/winrules.cpp
index f277137..844145b 100644
--- a/src/winrules.cpp
+++ b/src/winrules.cpp
@@ -206,7 +206,7 @@ WinrulesWindow::matchSizeValue (CompOption::Value::Vector matches,
return false;
min = MIN (matches.size (), widthValues.size ());
- min = MIN (min, heightValues.size ());
+ min = MIN ((unsigned int) min, heightValues.size ());
for (int i = 0; i < min; i++)
{