Jon Cryer is getting real about the similarities between one of his former co-stars and a GOP frontrunner.

“I worked with a guy who, whenever he said whatever came to the top of his head, people loved it!” the actor said on Tuesday’s 'The Real.' “And they loved it even more when he said horrible things.”

NEWS: Who the Celebs Are Rooting for to Be the Next President of the United States

The "Two and a Half Men" star was pretty clearly speaking about his former co-star Charlie Sheen, who was fired from the CBS sitcom in April 2011 after a bizarre public meltdown, which included multiple tirades about series creator Chuck Lorre.

“People like that he’s willing to just say whatever foolishness comes to the top of his head,” Cryer said of Trump, denoting the “interesting overlap” between Sheen and the Republican presidential candidate. “It’s fascinating to watch because I don’t want people to pick the president based on entertainment value.”

More On This...

“I saw somebody spectacularly flame out and ruin everything that was good in their lives by doing that,” he added. “I don’t want somebody else to ruin everybody else’s lives by coming to power that way.”

NEWS: Brett Rossi Files a Restraining Order Against Ex-Fiance Charlie Sheen

Cryer notably attended a fundraiser for Sen. John McCain’s presidential run in 2008, but says he’s hesitant to align himself with either political party.

“What’s funny is I’ve been to all kinds of fundraisers. I’ve been to Barack Obama fundraisers... but you go to one Republican one and boom, you’re Republican forever,” he explained. “I actually don’t like to get into politics too much because who cares what the guy from'"Two and a Half Men' thinks about politics.”

EXCLUSIVE: Donald Trump's Ex, Marla Maples, Speaks Out on His Attack Against Ted Cruz's Wife