[TASK] Cast integers and removed unused comment

Change-Id: I016a2d37ee1ee3557a1df1fa970c919852e01570
Resolves: #60216