Last Comment Bug 739632 - fix "deprecated conversion from string constant to 'char*' [-Wwrite-strings]" in EventTarget.cpp
: fix "deprecated conversion from string constant to 'char*' [-Wwrite-strings]"...
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: Workers (show other bugs)
: unspecified
: All Linux
: -- normal (vote)
: mozilla14
Assigned To: Nathan Froyd [:froydnj]
:
Mentors:
Depends on:
Blocks: buildwarning
  Show dependency treegraph
 
Reported: 2012-03-27 08:45 PDT by Nathan Froyd [:froydnj]
Modified: 2012-03-28 14:21 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (963 bytes, patch)
2012-03-27 08:48 PDT, Nathan Froyd [:froydnj]
bent.mozilla: review+
Details | Diff | Splinter Review

Description Nathan Froyd [:froydnj] 2012-03-27 08:45:50 PDT
/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]
Comment 1 Nathan Froyd [:froydnj] 2012-03-27 08:48:14 PDT
Created attachment 609736 [details] [diff] [review]
patch
Comment 3 Ed Morley [:emorley] 2012-03-28 14:21:50 PDT
https://hg.mozilla.org/mozilla-central/rev/ae768dcc8566

Note You need to log in before you can comment on or make changes to this bug.