[ref] TGaxis: Added a couple of casts to avoid warnings.