Fixed 'warning: comparison between pointer and integer'
Merge pull request #5 from ska-sa/compile_warnings

Fixed 'warning: comparison between pointer and integer'