Fixed warnings on Visual C++ 2010

I started fixing warnings for NanoVG but thought it would be best to submit this part to its source.