China offers friendly warning to US