Closed
Bug 49646
Opened 24 years ago
Closed 23 years ago
C style casts that should probably be using C++ casts?
Categories
(Core Graveyard :: Security: UI, defect, P3)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: bruce, Assigned: ddrinan0264)
Details
From current CVS (HP ports tinderbox): Warning 749: "nsCrypto.cpp", line 214 # The cast from 'nsIScriptGlobalObject *' to 'nsISupports *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. (nsISupports *)global, ^^^^^^^^^^^^^^^ Warning 749: "nsCrypto.cpp", line 1216 # The cast from 'nsIScriptGlobalObject *' to 'nsISupports *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. (nsISupports *)global, (void**)&mScriptObject); ^^^^^^^^^^^^^^^ Warning 749: "nsCrypto.cpp", line 1407 # The cast from 'nsIScriptGlobalObject *' to 'nsISupports *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. (nsISupports *)global, (void**)&mScriptObject); ^^^^^^^^^^^^^^^
Comment 3•24 years ago
|
||
Bruce Mitchener, any change in status with this bug?
Comment 4•23 years ago
|
||
Resolving invalid, since there has been no feed back on this bug for 8 months.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 5•23 years ago
|
||
If the invalid casts are still in the code (and I don't know that they are, I'm too busy to do much on Mozilla these months), then there's no reason to close out this bug unless these types of bugs are deemed to be unworthy of the effort to fix them.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 6•23 years ago
|
||
With the PSM2 landing, the file nsCrypto.cpp is no longer in the build.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•