vs2013 compiler warnings

Two minor commits that I would like to have merged, the commits fixes two compiler warnings under Visual Studio 2013 that due to C2220 where warnings are treated as errors prevents compilation under Visual 
Studio 2013.

Commit 037e719 is unfortunately in the 3rdparty folder, I will see if I can get that part pushed to jpeg-compressor.