Use a static_cast in place of a C cast

This commit is contained in:
John Scipione 2013-05-01 22:22:00 -04:00
parent 01b1b8bdaa
commit ecc0703995

View File

@ -452,7 +452,7 @@ BPopUpMenu::_StartTrack(BPoint where, bool autoInvoke, bool startOpened,
BMenuItem*
BPopUpMenu::_WaitMenu(void* _data)
{
popup_menu_data* data = (popup_menu_data*)_data;
popup_menu_data* data = static_cast<popup_menu_data*>(_data);
BWindow* window = data->window;
sem_id sem = data->lock;
if (window != NULL) {