Apparantly, the patch is here!
cghan
--- types.h 2003-03-01 03:57:47.000000000 +0900 +++ types._new.h 2003-03-01 03:59:30.000000000 +0900 @@ -24,7 +24,7 @@ * char_type == char except in CJK-LyX where char_type == wchar_t. */ typedef wchar_t char_type; - typedef unsigned wchar_t unsigned_char_type; + typedef wchar_t unsigned_char_type; /// a type for positions used in paragraphs // needs to be signed for a while to hold the special value -1 that is