aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-04-23 21:33:29 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-04-23 21:33:29 -0700
commitc2e8c8acd8ae0c94c70b59f55169841ad195bb99 (patch)
tree13709f29a89f926f873c1e8eddc76ca22601aa5d /src/util.h
parentef758662c595ca866ca7abe320452d785373314b (diff)
parent735a60698c845f257a0f7e9b617d50669d9179d4 (diff)
Merge pull request #1140 from jgarzik/sign-compare
Address many more sign comparison warnings
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 9035b773f1..6c3e6c5450 100644
--- a/src/util.h
+++ b/src/util.h
@@ -579,9 +579,9 @@ template <typename T> class CMedianFilter
private:
std::vector<T> vValues;
std::vector<T> vSorted;
- int nSize;
+ unsigned int nSize;
public:
- CMedianFilter(int size, T initial_value):
+ CMedianFilter(unsigned int size, T initial_value):
nSize(size)
{
vValues.reserve(size);