summaryrefslogtreecommitdiff
path: root/meta2/collection.h
diff options
context:
space:
mode:
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;
}