summaryrefslogtreecommitdiff
path: root/meta2/collection.h
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:32:30 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-03-31 05:32:30 +0000
commit20d1480ed78c9395749d5b4e198d8687f95220e6 (patch)
treee0bc7cc56035259c8c4e8d23f2a44b8d755971a3 /meta2/collection.h
parent16585b5ae2a03ce326fdd45610199eb2061bdb7a (diff)
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@450 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/collection.h')
-rw-r--r--meta2/collection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta2/collection.h b/meta2/collection.h
index f8709e3..11daa98 100644
--- a/meta2/collection.h
+++ b/meta2/collection.h
@@ -247,7 +247,7 @@ public:
}
const bool index_of(const T &val, unsigned long &index) const {
- for(int i = 0; i < Collection<T>::count; i++) {
+ for(int i = 0; i < (int)Collection<T>::count; i++) {
if(ar[index] == val) {
index = i;
return true;
@@ -257,7 +257,7 @@ public:
}
const int index_of(const T &val) const {
- for(int i = 0; i < Collection<T>::count; i++) {
+ for(int i = 0; i < (int)Collection<T>::count; i++) {
if(ar[i] == val) {
return i;
}