# HG changeset patch # User John W. Eaton # Date 1422041863 18000 # Node ID 4c1f638a381edc50aee0ced2ee5815a9e5c78218 # Parent 4c3ea57905fdc8abb00bb1af7bca27a705277d1c avoid old-style cast warning in libgui * graphics/Backend.cc: Replace C-style cast with reinterpret_cast. diff -r 4c3ea57905fd -r 4c1f638a381e libgui/graphics/Backend.cc --- a/libgui/graphics/Backend.cc Fri Jan 23 14:33:55 2015 -0500 +++ b/libgui/graphics/Backend.cc Fri Jan 23 14:37:43 2015 -0500 @@ -98,7 +98,7 @@ graphics_object gObj (go); gObj.get_properties ().set(toolkitObjectProperty (go), - OCTAVE_PTR_TYPE ((OCTAVE_INTPTR_TYPE) proxy)); + OCTAVE_PTR_TYPE (reinterpret_cast (proxy))); emit createObject (go.get_handle ().value ());