1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 12:49:54 +00:00
openmw-tes3mp/components/to_utf8
Michael Mc Donnell 5fa8165f97 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.
2012-08-22 16:42:53 -04:00
..
.gitignore Added custom UTF8 converter. Removed iconv dependency. 2010-08-18 18:45:44 +02:00
gen_iconv.cpp Changed standard C lib includes to C++ format 2012-07-17 09:44:24 +02:00
Makefile Mantis: #18 - Move components from global namespace into their own namespace. 2011-06-19 19:33:30 +02:00
tables_gen.hpp Use char literals in UTF 8 conversion to fix 798 warnings 2012-08-22 16:42:53 -04:00
to_utf8.cpp Changed standard C lib includes to C++ format 2012-07-17 09:44:24 +02:00
to_utf8.hpp Added new command line option: "encoding" 2011-07-17 22:16:50 +02:00