Fix warning: pointer targets differ in signedness
Fix warnings: passing argument from incompatible pointer type, pointer targets differ in signedness, unused variable
Fix warnings: _POSIX_C_SOURCE, _XOPEN_SOURCE redefined (caused by indirectly including system headers before Python.h)
Fix warnings: variable set but not used
Merge pull request #187 from manisandro/warnings

Fix compilation warnings