fix compiler warning

This commit is contained in:
rdb 2013-01-13 14:48:05 +00:00
parent e506871383
commit 8b40d8f83c

View File

@ -140,7 +140,7 @@ check_button_events(const DataNodeTransmit &input,
const ButtonEventList *button_events = NULL;
if (input.has_data(_button_events_input)) {
DCAST_INTO_R(button_events, input.get_data(_button_events_input).get_ptr(), false);
DCAST_INTO_R(button_events, input.get_data(_button_events_input).get_ptr(), NULL);
button_events->update_mods(_current_button_state);
}