Closed
Bug 291635
Opened 20 years ago
Closed 20 years ago
nsAbWinHelper.cpp fails to compile with Microsoft Visual Studio 2005 Beta 2
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stdowa+bugzilla, Unassigned)
References
Details
Attachments
(1 file)
2.10 KB,
patch
|
Bienvenu
:
review+
darin.moz
:
superreview+
dbaron
:
approval1.8b2+
|
Details | Diff | Splinter Review |
c:/Mozilla/mozilla/mailnews/addrbook/src/nsAbWinHelper.cpp(567) : error C2440:
'const_cast' : cannot convert from 'const PRUnichar *' to 'WO
RD *'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:/Mozilla/mozilla/mailnews/addrbook/src/nsAbWinHelper.cpp(595) : error C2440:
'const_cast' : cannot convert from 'const nsAString::char_typ
e *' to 'WORD *'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:/Mozilla/mozilla/mailnews/addrbook/src/nsAbWinHelper.cpp(684) : error C2440:
'const_cast' : cannot convert from 'const nsAString::char_typ
e *' to 'WORD *'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:/Mozilla/mozilla/mailnews/addrbook/src/nsAbWinHelper.cpp(747) : error C2440:
'const_cast' : cannot convert from 'const nsAString::char_typ
e *' to 'WORD *'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
Comment 1•20 years ago
|
||
This can be solved by replacing "WORD *" with "WCHAR *" (LPWSTR should work also)
Reporter | ||
Comment 2•20 years ago
|
||
Attachment #182211 -
Flags: review?(bienvenu)
Updated•20 years ago
|
Attachment #182211 -
Flags: review?(bienvenu) → review+
Reporter | ||
Updated•20 years ago
|
Attachment #182211 -
Flags: superreview?(darin)
Updated•20 years ago
|
Attachment #182211 -
Flags: superreview?(darin) → superreview+
Reporter | ||
Comment 3•20 years ago
|
||
Comment on attachment 182211 [details] [diff] [review]
Use WCHAR * rather than WORD *
Low risk patch to allow Visual Studio 2005 Beta 2 to build addrbook.
Attachment #182211 -
Flags: approval1.8b2?
Attachment #182211 -
Flags: approval1.8b2? → approval1.8b2+
Comment 4•20 years ago
|
||
Comment on attachment 182211 [details] [diff] [review]
Use WCHAR * rather than WORD *
a=chofmann
Reporter | ||
Comment 5•20 years ago
|
||
checked in by db48x
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•