To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82968
Issue #|82968
Summary|WaE on 64bit Linux: rsc
Component|porting
Version|680m234
Platform|Opteron/x86_64
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P4
Subcomponent|code
Assigned to|pl
Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Thu Oct 25 10:41:01 +0000
2007 -------
Hi,
INT32 is not long on unxlngx6.pro, thus this emits warning there:
/home/oo/BuildDir/ooo_SRC680_m234_src/rsc/source/res/rscrange.cxx: In member
function 'virtual
void RscLongRange::WriteSrc(const RSCINST&, FILE*, RscTypCont*, sal_uInt32,
const char*)':
/home/oo/BuildDir/ooo_SRC680_m234_src/rsc/source/res/rscrange.cxx:431: warning:
format '%ld'
expects type 'long int', but argument 3 has type 'INT32'
Please apply this change. 13 years old code :-)
diff -ur ooo_SRC680_m233_src.orig/rsc/source/res/rscrange.cxx
ooo_SRC680_m233_src/rsc/source/
res/rscrange.cxx
--- ooo_SRC680_m233_src.orig/rsc/source/res/rscrange.cxx 2007-10-13
11:42:10.000000000
+0200
+++ ooo_SRC680_m233_src/rsc/source/res/rscrange.cxx 2007-10-13
11:44:01.000000000
+0200
@@ -428,7 +428,7 @@
{
INT32 lVal;
GetNumber( rInst, &lVal );
- fprintf( fOutput, "%ld", lVal );
+ fprintf( fOutput, "%d", static_cast<int>(lVal) );
}
/*************************************************************************
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]