David Warner's 166 set Australia on their way to a 48-run victory over Bangladesh in the Cricket World Cup on Thursday.