Fix EOF condition from getopt being compared to char type
Fix EOF condition from getopt being compared to char type

getopt returns EOF which should not be compared to a char type. Make
variable c an int rather than a char to fix this.

Signed-off-by: Colin Ian King <d100aa70785e45ee8deab668147d941941915c21@canonical.com>

intel/numatop,01org/numatop,ColinIanKing/numatop,ColinIanKing/numatop,ColinIanKing/numatop,01org/numatop,intel/numatop