cppcheck: cstyleCast

This commit is contained in:
August Sodora
2012-01-06 14:28:27 -05:00
parent 743e627bcf
commit a3b6842cc9

View File

@@ -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 );
}