Ticket 48805 - Sign comparison checks.
Bug Description: We perform a lot of checks on values that do not have the
correct or same sign type. This often indicates the incorrect type of the
variable, or incorrect use and design of the application.
Fix Description:
* Cast some variables as needed where the type cannot be changed.
* Change the type of some variables where correct.
* Ignore others due to fundamental library issues.
https://fedorahosted.org/389/ticket/48805
Author: wibrown
Review by: mreynolds, nhosoi (Thanks!)