Merge pull request #16 from cubicdaiya/issues/error_level_type

comparison between signed and unsigned value
fix typo