Index: source/remote/iiop/marshal.cxx =================================================================== RCS file: /cvs/udk/bridges/source/remote/iiop/marshal.cxx,v retrieving revision 1.4 retrieving revision 1.4.92.1 diff -u -r1.4 -r1.4.92.1 --- source/remote/iiop/marshal.cxx 21 Apr 2004 13:42:56 -0000 1.4 +++ source/remote/iiop/marshal.cxx 13 Sep 2005 14:50:32 -0000 1.4.92.1 @@ -124,9 +124,9 @@ { // This alignment is an iiop-specification violation, but it was // discovered too late. - sal_Int32 n = ( ((sal_uInt32)m_pos) + m_nStartMarshalingAt ) % nToAlign; + sal_Int32 n = ( sal_uIntPtr(m_pos) + m_nStartMarshalingAt ) % nToAlign; // This is the correct alignment -// sal_Int32 n = ( (sal_uInt32)m_pos % nToAlign); +// sal_Int32 n = ( sal_uIntPtr(m_pos) % nToAlign); if( n ) { n = nToAlign -n; Index: source/remote/iiop/unmarshal.cxx =================================================================== RCS file: /cvs/udk/bridges/source/remote/iiop/unmarshal.cxx,v retrieving revision 1.8 retrieving revision 1.8.92.1 diff -u -r1.8 -r1.8.92.1 --- source/remote/iiop/unmarshal.cxx 21 Apr 2004 13:43:11 -0000 1.8 +++ source/remote/iiop/unmarshal.cxx 13 Sep 2005 14:50:33 -0000 1.8.92.1 @@ -115,7 +115,7 @@ inline void Unmarshal::align( sal_Int32 nToAlign ) { - sal_Int32 n = ( (sal_uInt32)m_pos % nToAlign); + sal_Int32 n = (sal_uIntPtr(m_pos) % nToAlign); if( n ) { n = nToAlign -n;