# HG changeset patch # User William Roberts # Date 1276937696 -3600 # Node ID c46cf809d044759dd0b461dab5b50d70c996db3d # Parent b41fc9c39ca75b08b822b45ebd10ad2ac1bd4e1f Use reinterpret_cast in inlines for SSecureId and SVendorId - Bug 3036 diff -r b41fc9c39ca7 -r c46cf809d044 kernel/eka/include/e32cmn.inl --- a/kernel/eka/include/e32cmn.inl Sat Jun 19 07:49:33 2010 +0100 +++ b/kernel/eka/include/e32cmn.inl Sat Jun 19 09:54:56 2010 +0100 @@ -6977,7 +6977,7 @@ inline const TSecureId* SSecureId::operator&() const { return (const TSecureId*)this; } inline SSecureId::operator const TSecureId&() const - { /* coverity[return_local_addr] */ return (const TSecureId&)iId; } + { return reinterpret_cast(iId); } inline SSecureId::operator TUint32() const { return iId; } inline SSecureId::operator TUid() const @@ -7017,7 +7017,7 @@ inline const TVendorId* SVendorId::operator&() const { return (const TVendorId*)this; } inline SVendorId::operator const TVendorId&() const - { /* coverity[return_local_addr] */ return (const TVendorId&)iId; } + { return reinterpret_cast(iId); } inline SVendorId::operator TUint32() const { return iId; } inline SVendorId::operator TUid() const