Banned Australia star David Warner has walked off the field following an opposition sledge while playing in Sydney local cricket.

The sledge was allegedly delivered by Jason Hughes, the brother of the late Phillip Hughes, however it is not known what Hughes said to set Warner off.

It is understood the umpires did not hear what was said.

Warner, who turned 32 on Saturday, soon continued his innings and made a century for Randwick-Petersham against Western Suburbs, finally being dismissed for 157.