The code doesn't compile if the cast is removed, so just suppress the warning. Change-Id: Ifcdd9ce44b01f9d232e75e854ad36fc3e0ff1c22