Index: inc/codemaker/global.hxx =================================================================== RCS file: /cvs/udk/rdbmaker/inc/codemaker/global.hxx,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -r1.5 -r1.5.2.1 --- inc/codemaker/global.hxx 20 Jun 2006 04:09:00 -0000 1.5 +++ inc/codemaker/global.hxx 30 Jun 2006 11:56:36 -0000 1.5.2.1 @@ -131,7 +131,7 @@ // friend functions friend FileStream &operator<<(FileStream& o, sal_uInt32 i) - { fprintf(o.m_pFile, "%d", i); + { fprintf(o.m_pFile, "%lu", sal::static_int_cast< unsigned long >(i)); return o; } friend FileStream &operator<<(FileStream& o, char const * s) Index: source/codemaker/typemanager.cxx =================================================================== RCS file: /cvs/udk/rdbmaker/source/codemaker/typemanager.cxx,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -r1.6 -r1.6.2.1 --- source/codemaker/typemanager.cxx 20 Jun 2006 04:10:06 -0000 1.6 +++ source/codemaker/typemanager.cxx 30 Jun 2006 11:56:36 -0000 1.6.2.1 @@ -149,7 +149,7 @@ while (iter != regFiles.end()) { - if ( ret = pTmpReg->mergeKey(rootKey, aRoot, convertToFileUrl( *iter )) ) + if ( (ret = pTmpReg->mergeKey(rootKey, aRoot, convertToFileUrl( *iter ))) ) { if (ret != REG_MERGE_CONFLICT) {