fix: #3571740 Replace deprecated type casts

Closes #3571740

Merge request reports

Loading