A new survey shows more than 1 in four bosses have an employee they're secretly wishing would leave the company.

The survey comes from careerbuilder.com, and was conducted earlier this year.

It found 27 percent of bosses have someone who reports directly to leave that they're not very happy with, and would prefer they leave the company. However, when dealing with that employee, only 42% of managers are likely to issue a formal warning. That could mean you need to look for the warning signs that you've fallen out of favor.

Managers in the survey said the following workplace behaviors could be warning signs that you're in trouble with the boss.

27% Point out shortcomings in employee's performance more often
21% Reduce responsibilities
12% Hire someone else to eventually replace the employee
8% Move the employee to another work area
8% Keep employee out of the loop regarding new company developments
7% Communicate primarily via email instead of in person or over the phone
6% Don't invite the employee to certain meetings or involve him/her in certain projects
3% Don't invite the employee to social gatherings with co-workers

A human resources expert offers the following tips for workers looking to repair relationships with management:

-- Recommit yourself to performance
-- Identify areas you can improve immediately
-- Display your commitment to the company's objectives

A majority (63 percent) of managers say the best thing a worker can do after a falling out with the boss is to simply improve the quality of work. In most cases, the negative attitudes will be history.