This undated image provided by the U.S. Consumer Product Safety Commission shows a "Hello Kitty Birthday Lollipop" whistle, which McDonald's gave to children in Happy Meals. McDonald's is recalling the toys because there is a chance children could choke on some of its parts. (AP Photo/Courtesy U.S. Consumer Product Safety Commission)

McDonald's is recalling a Hello Kitty-themed whistle given to children in Happy Meals, citing a chance they could choke on some of its parts.

The U.S. Consumer Product Safety Commission said Monday that two children have reportedly coughed out pieces of the whistle that they had sucked into their mouths, including one child who received .

The safety agency said that parts of the three-inch-tall "Hello Kitty Birthday Lollipop" whistle can detach and be inhaled, posing a risk to .

McDonald's said about 2.5 million whistles were manufactured but the majority were not sent to restaurants. The toys that were handed out in the U.S. and Canada in October and November were in Happy Meals and Mighty Kids Meals.

The fast-food chain said it has recovered about 1.6 million whistles.

Consumers should return the whistle to any McDonald's for a free replacement toy.