Mercurial > hg > octave-nkf
changeset 19812: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 +++ b/libgui/graphics/Backend.cc @@ -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 ());