changeset 19649:4c1f638a381e gui-release

avoid old-style cast warning in libgui * graphics/Backend.cc: Replace C-style cast with reinterpret_cast.
author John W. Eaton <jwe@octave.org>
date Fri, 23 Jan 2015 14:37:43 -0500
parents 4c3ea57905fd
children 709f3a77685d
files libgui/graphics/Backend.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <OCTAVE_INTPTR_TYPE> (proxy)));
 
       emit createObject (go.get_handle ().value ());