Fix a couple compile warnings
Explicitly cast void to FILE*. Fixes #32
Merge branch 'fix_small_errors'