One should easily make such a connection within 40 minutes. If one must go to a transfer desk for an onward boarding pass, it's best to allow much more time. If you are using a budget airline and have luggage to collect, or you need to re check-in, then allow three hours.