Mixed enum types - coverity defect

Hi All,

I came across this error "MIXING ENUM TYPES" when I run my C program against the Coverity Tool. I've made many search relating to the error, but I didnt find the exact solution. Can anyone help me to overcome this.?

Thanks in Advance.!!

I hope it at least gave line numbers for the warning?

This doesn't sound like a fatal problem.

@Corona688:
Error is actually thrown in a line of function call. The function take two inputs which are not enum.

Which isn't enum? The options the function takes, or its values?

If it's being fed integers and takes enums, that's the problem. Or vice versa.

How to fix it depends on what it is. We can't really see your code from here.