Apache OpenOffice (AOO) Bugzilla – Issue 25463
rtl_convertUnicodeToText and sal_Size vs. sal_uInt32
Last modified: 2004-11-29 10:42:34 UTC
This function is declared as sal_Size SAL_CALL rtl_convertUnicodeToText( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext, const sal_Unicode* pSrcBuf, sal_Size nSrcChars, sal_Char* pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags, sal_uInt32* pInfo, sal_Size* pSrcCvtChars ); The next to last argument is sal_uInt32* pInfo. There are two calls of this function in ooo_cws_src680_ooo20040225_src/sal/osl/unx/file.cxx where sal_Size is used instead. sal_Size is defined as: inc/sal/types.h:typedef unsigned long sal_Size; thus on 64bit systems, sal_Size is 64bit, but sal_uInt32 is only 32bit long. This patch changes the syntax of those two calls.
Add target, approval_pending keyword.
reassign to me.
accept it.
Created attachment 13098 [details] Changing the type of arguments
Approved for 680 20040225
Thanks, commited.
*** Issue 25575 has been marked as a duplicate of this issue. ***
Verified.
.