From 8b40d8f83cd8cab8c5e068d428750f5448e172cf Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 13 Jan 2013 14:48:05 +0000 Subject: [PATCH] fix compiler warning --- panda/src/tform/mouseInterfaceNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/tform/mouseInterfaceNode.cxx b/panda/src/tform/mouseInterfaceNode.cxx index 0e480755c2..4bbfbd1e0f 100644 --- a/panda/src/tform/mouseInterfaceNode.cxx +++ b/panda/src/tform/mouseInterfaceNode.cxx @@ -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); }