A Chicago jetliner headed to Shanghai was forced to make an emergency landing in Winnipeg Monday.

The pilot reported smoke in the cockpit early in the afternoon, said airport officials.

Winnipeg fire and emergency crews were on the tarmac as the plane made a safe landing.

Airport officials said United Airlines will send a replacement plane to Winnipeg so that a mechanical inspection can be carried out on the first plane.

Passengers will be put up in Winnipeg overnight and the replacement plane is scheduled to take off Tuesday afternoon.