My point is that throughout our code we generally don't do that cast.

In this particular case, I'm now calling ```updateMaxSpinboxValue((UAVObject *)NULL)``` on L394, so if I did a cast I would have to send the object as an argument from ```onAutopilotConnect()```. It looks to me like about the same code complexity to do it either way.