diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-28 12:17:52 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-29 10:44:42 +0200 |
commit | 843949131aa75312086bea6a50408e09d82f5209 (patch) | |
tree | 00d7428e6df17e48ca6c77e703b225c7e3cfdf1d /Vector.c | |
parent | 214c742ae176078c3b081e1598b3fbf0cc122f77 (diff) |
Drop redundant casts to the same type
Diffstat (limited to 'Vector.c')
-rw-r--r-- | Vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -309,7 +309,7 @@ inline int Vector_indexOf(Vector* this, void* search_, Object_Compare compare) { assert(compare); assert(Vector_isConsistent(this)); for (int i = 0; i < this->items; i++) { - Object* o = (Object*)this->array[i]; + Object* o = this->array[i]; assert(o); if (compare(search, o) == 0) return i; |