Closed
Bug 563191
Opened 16 years ago
Closed 14 years ago
deprecated conversion from string constant to char* in nsAuthSambaNTLM::SpawnNTLMAuthHelper
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: timeless, Assigned: timeless)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
Attachments
(2 files)
|
970 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.74 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
extensions/auth/nsAuthSambaNTLM.cpp: In member function ‘nsresult nsAuthSambaNTLM::SpawnNTLMAuthHelper()’:
nsAuthSambaNTLM.cpp:213:
warning: deprecated conversion from string constant to ‘char*’
warning: deprecated conversion from string constant to ‘char*’
warning: deprecated conversion from string constant to ‘char*’
warning: deprecated conversion from string constant to ‘char*’
warning: deprecated conversion from string constant to ‘char*’
char* args[] = {
"ntlm_auth",
"--helper-protocol", "ntlmssp-client-1",
"--use-cached-creds",
"--username", const_cast<char*>(username),
nsnull
};
this should be const char * const args[], however we can't do that today because the NSPR prototype isn't friendly (see blocker bug).
this can't be reviewed or pushed until the blocking bug is fixed.
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Comment 4•15 years ago
|
||
There is a patch in the blocking bug (bug 563192), which has gone unreviewed for over a year. I have pinged it. I don't know if there is anything else that can be done to get this unjammed.
Comment 5•15 years ago
|
||
(In reply to comment #4)
> There is a patch in the blocking bug (bug 563192), which has gone unreviewed
> for over a year. I have pinged it. I don't know if there is anything else
> that can be done to get this unjammed.
A few suggestions that were made:
o poking people is good
o finding component/module owners and poking them
o and if important, poking product drivers
o something to bring up at various triage meetings.
- there are flags you can set that make it show up for various triage meetings as well.
Updated•15 years ago
|
Whiteboard: [build_warnings]
Updated•15 years ago
|
Whiteboard: [build_warnings] → [build_warning]
Updated•15 years ago
|
Blocks: buildwarning
Comment 6•14 years ago
|
||
How about this instead? (Saw this clang warning flying by and thought I'd grab it.)
Attachment #640932 -
Flags: review?(ehsan)
Updated•14 years ago
|
Attachment #640932 -
Flags: review?(ehsan) → review+
Comment 7•14 years ago
|
||
Updated•14 years ago
|
Attachment #640932 -
Attachment is patch: true
Comment 8•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•