Closed Bug 330109 Opened 18 years ago Closed 17 years ago

ISO C++ forbids casting between pointer-to-function and pointer-to-object (use PR_FindFunctionSymbol)

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Biesinger, Unassigned)

References

Details

../../../../../mozilla/widget/src/gtk2/nsSound.cpp:94: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object


This should be fixed by using PR_FindFunctionSymbol instead of PR_FindSymbol, also in the gtk1 version and two other places in this file.
Looking at the code, this has been fixed:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/widget/src/gtk2/nsSound.cpp&rev=1.16&root=/cvsroot

-> FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.