Converted the old style casts to c++ style casts.

This commit is contained in:
Mark de Wever 2009-03-29 20:30:23 +00:00
parent f64b78d3ef
commit 752eb73786

View File

@ -617,8 +617,8 @@ void menu::handle_event(const SDL_Event& event)
x = event.button.x;
y = event.button.y;
} else {
x = (long)event.user.data1;
y = (long)event.user.data2;
x = reinterpret_cast<long>(event.user.data1);
y = reinterpret_cast<long>(event.user.data2);
}
const int item = hit(x,y);