Issue 70460 - to-be-m188: svx/source/dialog/showcols.cxx: 111: error: cast from 'void*' to 'sal_Int32' loses precision
Summary: to-be-m188: svx/source/dialog/showcols.cxx: 111: error: cast from 'void*' to ...
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC (x86_64) Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: OOo 2.1
Assignee: pavel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-16 05:55 UTC by pavel
Modified: 2006-10-17 05:35 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2006-10-16 05:55:07 UTC
to-be-m188 on x86_64:

/data/oo/BuildDir/ooo_SRC680_m188_src/svx/source/dialog/showcols.cxx:111:
error: cast from 'void*' to 'sal_Int32' loses precision

Compare diff to previous version here (comes from sb59):

-                      
m_xColumns->getByIndex(reinterpret_cast<sal_Int64>(m_aList.GetEntryData(m_aList.GetSelectEntryPos(i))))
>>= xCol;
+                      
m_xColumns->getByIndex(reinterpret_cast<sal_Int32>(m_aList.GetEntryData(m_aList.GetSelectEntryPos(i))))
>>= xCol;

revision 1.8
date: 2006/10/12 12:26:46;  author: obo;  state: Exp;  lines: +2 -2
INTEGRATION: CWS sb59 (1.6.62); FILE MERGED
2006/08/03 13:51:36 cl 1.6.62.1: removed compiler warnings

Please find different solution not breaking on 64bit platforms.
Comment 1 oliver.bolte 2006-10-16 08:55:21 UTC
.
Comment 2 oliver.bolte 2006-10-16 14:03:09 UTC
change owner
Comment 3 oliver.bolte 2006-10-16 14:45:47 UTC
setting target
Comment 4 clippka 2006-10-16 15:03:16 UTC
fixed, please verify on m188
Comment 5 clippka 2006-10-16 15:04:05 UTC
set issue to resolved
Comment 6 pavel 2006-10-17 05:35:46 UTC
verified, closing.