fix "deprecated conversion from string constant to 'char*' [-Wwrite-strings]" in EventTarget.cpp

RESOLVED FIXED in mozilla14

Status

()

Core
DOM: Workers
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

(Blocks: 1 bug)

unspecified
mozilla14
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

963 bytes, patch
Ben Turner (not reading bugmail, use the needinfo flag!)
: review+
Details | Diff | Splinter Review
(Assignee)

Description

5 years ago
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp: In static member function 'static JSBool mozilla::dom::workers::events::EventTarget::AddEventListener(JSContext*, unsigned int, jsval*)':
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp:165:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp: In static member function 'static JSBool mozilla::dom::workers::events::EventTarget::RemoveEventListener(JSContext*, unsigned int, jsval*)':
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp:200:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp: In static member function 'static JSBool mozilla::dom::workers::events::EventTarget::DispatchEvent(JSContext*, unsigned int, jsval*)':
/home/froydnj/src/m-c.git/dom/workers/EventTarget.cpp:235:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
(Assignee)

Comment 1

5 years ago
Created attachment 609736 [details] [diff] [review]
patch
Attachment #609736 - Flags: review?(bent.mozilla)
Attachment #609736 - Flags: review?(bent.mozilla) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/ae768dcc8566
Assignee: nobody → nfroyd
Target Milestone: --- → mozilla14
https://hg.mozilla.org/mozilla-central/rev/ae768dcc8566
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.