I have noticed code like this in the Wordperfect importer:

    afunction(UT_uint32 * pN);
    ...
    wchar_t c;
    afunction(&c);

This assumes sizeof(wchar_t) == sizeof(UT_uint32). However, 
sizeof(wchar_t) varies on different systems, so this is not portable.

Tomas


Reply via email to