Fix some snprintf() usage.
Fix an incorrect unsigned compare.
Quiet some warnings in externals.

We're not very worried about these anyway.  Better to not have the spam.
thin3d: Bind index buffer in GL.

Pretty sure this is right.
thin3d: Log an unexpected case.
Fix a bitwise precedence warning.
Fix an undefined pragma warning on non-msvc.
Silence some type conversion warnings.
Merge pull request #249 from unknownbrackets/warnings

Try to fix some more warnings