diff options
author | August Sodora <augsod@gmail.com> | 2012-01-06 14:28:27 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-07 17:47:07 -0500 |
commit | a3b6842cc91fee88b9a6fd48008d1c7e53d67108 (patch) | |
tree | fef3962f23cad061d12af7e72da36ba3e48e289f /avmedia/source/gstreamer | |
parent | 743e627bcfc9c87d806109fe6f3f4e2817b73dda (diff) |
cppcheck: cstyleCast
Diffstat (limited to 'avmedia/source/gstreamer')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 14cdbb579af4..0e7317711dd1 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -112,7 +112,7 @@ Player::~Player() static gboolean gst_pipeline_bus_callback( GstBus *, GstMessage *message, gpointer data ) { - Player* pPlayer = (Player *) data; + Player* pPlayer = static_cast<Player*>(data); pPlayer->processMessage( message ); @@ -121,7 +121,7 @@ static gboolean gst_pipeline_bus_callback( GstBus *, GstMessage *message, gpoint static GstBusSyncReply gst_pipeline_bus_sync_handler( GstBus *, GstMessage * message, gpointer data ) { - Player* pPlayer = (Player *) data; + Player* pPlayer = static_cast<Player*>(data); return pPlayer->processSyncMessage( message ); } |