From: Rico Tzschichholz Date: Mon, 17 Apr 2023 13:56:12 +0000 (+0200) Subject: gee: Fix type-arguments in cast X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d9d4eb84b386204225f1129a91799284a891fc7;p=thirdparty%2Fvala.git gee: Fix type-arguments in cast --- diff --git a/gee/collection.vala b/gee/collection.vala index 84162232a..eeaf1cd6d 100644 --- a/gee/collection.vala +++ b/gee/collection.vala @@ -108,17 +108,17 @@ public abstract class Vala.Collection : Iterable { } else if (t == typeof (uint)) { return (G[]) to_uint_array ((Collection) this); } else if (t == typeof (int64)) { - return (G[]) to_int64_array ((Collection) this); + return (G[]) to_int64_array ((Collection) this); } else if (t == typeof (uint64)) { - return (G[]) to_uint64_array ((Collection) this); + return (G[]) to_uint64_array ((Collection) this); } else if (t == typeof (long)) { return (G[]) to_long_array ((Collection) this); } else if (t == typeof (ulong)) { return (G[]) to_ulong_array ((Collection) this); } else if (t == typeof (float)) { - return (G[]) to_float_array ((Collection) this); + return (G[]) to_float_array ((Collection) this); } else if (t == typeof (double)) { - return (G[]) to_double_array ((Collection) this); + return (G[]) to_double_array ((Collection) this); } else if (t.is_enum () || t.is_flags ()) { return (G[]) to_int_array ((Collection) this); } else {