Use the right log format for printing 64 bit integers
Remove unused variables
Merge pull request #1400 from mstorsjo/warning-fix

Fix compiler warnings
Merge remote-tracking branch 'upstream/master' into travis.osx