zinnschlag/openmw — pull request #305 by MichaelMcDonnell (2012-08-24 12:53:49+00:00)
Title: Use char literals in UTF 8 conversion to fix 798 warnings

The data type is specified as char but the literals are unsigned char. This
results in 798 truncation warnings in vs2010. The literals were converted
with a simple python script to signed char while taking two's complement and
the overflow into account.

Also tested on Ubuntu 12.04 with gcc 4.6.

P.S. This can easily wait until after the 0.17 release.