diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-26 07:56:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-26 07:56:42 +0200 |
commit | 87d23972733e02b70a26e486456e0ab133e12d78 (patch) | |
tree | 582b7bfea5f1d39c166c2cc4dfb120d37c43b7d5 | |
parent | aa42bd14ac232936647bb1abb4161bb4244a49a4 (diff) | |
parent | e8d632720f87640daa662e74a7906f984de5d8da (diff) |
Merge pull request #39837 from neikeq/fix-invalid-unbox-long-as-int
Mono/C#: Fix InvalidCast because of attempt to unbox long as int
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/BuildTab.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/BuildTab.cs b/modules/mono/editor/GodotTools/GodotTools/BuildTab.cs index 0106e1f1ac..8596cd24af 100644 --- a/modules/mono/editor/GodotTools/GodotTools/BuildTab.cs +++ b/modules/mono/editor/GodotTools/GodotTools/BuildTab.cs @@ -113,7 +113,7 @@ namespace GodotTools throw new IndexOutOfRangeException("Item list index out of range"); // Get correct issue idx from issue list - int issueIndex = (int)issuesList.GetItemMetadata(idx); + int issueIndex = (int)(long)issuesList.GetItemMetadata(idx); if (issueIndex < 0 || issueIndex >= issues.Count) throw new IndexOutOfRangeException("Issue index out of range"); |