diff options
Diffstat (limited to 'common/list.h')
-rw-r--r-- | common/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/list.h b/common/list.h index f3bc1df35e..ad6193c297 100644 --- a/common/list.h +++ b/common/list.h @@ -185,7 +185,7 @@ public: } uint size() const { - int n = 0; + uint n = 0; for (const NodeBase *cur = _anchor._next; cur != &_anchor; cur = cur->_next) ++n; return n; |