diff options
| author | Jeff Garzik <[email protected]> | 2012-04-22 14:01:25 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-04-23 14:14:36 -0400 |
| commit | 735a60698c845f257a0f7e9b617d50669d9179d4 (patch) | |
| tree | 6f0d818c656a05a8cf2531cf9632dc6cdefc4e20 /src/util.h | |
| parent | CBlock::WriteToDisk() properly checks ftell(3) for error return (diff) | |
| download | discoin-735a60698c845f257a0f7e9b617d50669d9179d4.tar.xz discoin-735a60698c845f257a0f7e9b617d50669d9179d4.zip | |
Change signed->unsigned at 3 code sites
This resolves signed/unsigned comparison warnings.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h index fe8ca60b4..d9d8151b7 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); |