Author: mordante
Date: Sat Oct 15 20:06:46 2011
New Revision: 51501
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51501&view=rev
Log:
Remove an old-style-cast.
Modified:
trunk/src/tests/gui/fire_event.cpp
Modified: trunk/src/tests/gui/fire_event.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/gui/fire_event.cpp?rev=51501&r1=51500&r2=51501&view=diff
==============================================================================
--- trunk/src/tests/gui/fire_event.cpp (original)
+++ trunk/src/tests/gui/fire_event.cpp Sat Oct 15 20:06:46 2011
@@ -81,7 +81,7 @@
, const unsigned row
, const unsigned column)
{
- BOOST_REQUIRE_NE(widget, (gui2::twidget*)NULL);
+ BOOST_REQUIRE_NE(widget, static_cast<gui2::twidget*>(NULL));
widget->set_id(id);
grid.set_child(widget
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits