From 843949131aa75312086bea6a50408e09d82f5209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 28 Sep 2020 12:17:52 +0200 Subject: Drop redundant casts to the same type --- Vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Vector.c') diff --git a/Vector.c b/Vector.c index e51fd7b1..20578851 100644 --- a/Vector.c +++ b/Vector.c @@ -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; -- cgit v1.2.3