I'm using some library which converts data to other format. As I don't want to debug this library, I'd like to solve the solution on my code.
The input is integer and maybe -1. In this case and the library output is - 1.
I need to compare this integer if this is positive or negative. How can I handle the - 1 for this check?