Closed Bug 1394013 Opened 5 years ago Closed 5 years ago

Warnings converting from string constant to wchar_t*

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

(Whiteboard: [tor])

Attachments

(1 file)

In several places we use L"" to represent an empty string and pass it to function argument expecting a pointer. This is invalid.
Comment on attachment 8901356 [details]
Bug 1394013 Fix forbidden string constant assignment

https://reviewboard.mozilla.org/r/172816/#review178198
Attachment #8901356 - Flags: review?(nfroyd) → review+
No longer blocks: 1330608
Blocks: 1394433
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2b7ede324ce2
Fix forbidden string constant assignment r=froydnj
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/2b7ede324ce2
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.