Fix printf formatting compiler warnings.
Fix unused result compiler warnings.

I had them output warning log messages.
Fix unused variable compiler warnings.
Fix implicit declaration compiler warnings.
Fix other assorted compiler warnings.

Unused functions, uninitialized variable access, and incorrect return types.
Fix that pesky int pointer cast compiler warning.

Now it just uses (void *)s for everything, avoiding conversion altogether.
Fixed printf format warnings when building 32-bit.
Updating as per suggestion.
gl_play_handle_xevents() thought it could hide

... but it was wrong.
Merge branch 'fix_warnings' of https://github.com/ZDBioHazard/glcs into ZDBioHazard-fix_warnings

Conflicts:
	src/glc/capture/gl_capture.c
	src/glc/core/pipe.c