aboutsummaryrefslogtreecommitdiff
path: root/common/list.h
diff options
context:
space:
mode:
authorMax Horn2011-03-30 13:34:31 +0200
committerMax Horn2011-04-04 09:53:26 +0200
commitc4ae3b90db9fe28130c00e9736fdc388088e7a35 (patch)
tree891c936fa98ac1eac5987e6b8cc33bad82e08d59 /common/list.h
parenta4eea36b84b60db158fa14e15a620a6f3e72cc37 (diff)
downloadscummvm-rg350-c4ae3b90db9fe28130c00e9736fdc388088e7a35.tar.gz
scummvm-rg350-c4ae3b90db9fe28130c00e9736fdc388088e7a35.tar.bz2
scummvm-rg350-c4ae3b90db9fe28130c00e9736fdc388088e7a35.zip
COMMON: Fix (harmless) int <-> uint mismatch
Diffstat (limited to 'common/list.h')
-rw-r--r--common/list.h2
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;