aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-04-22 14:01:25 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-04-23 14:14:36 -0400
commit735a60698c845f257a0f7e9b617d50669d9179d4 (patch)
tree6f0d818c656a05a8cf2531cf9632dc6cdefc4e20 /src/util.h
parent5aa0b2382515eb92fe249a106059f3b6a9328d26 (diff)
Change signed->unsigned at 3 code sites
This resolves signed/unsigned 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 fe8ca60b47..d9d8151b71 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);