From 325f7bb4ec436d8b39b6352877c60b48d4daf2b4 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 21 May 2013 17:37:50 -0400 Subject: [PATCH] Show correct type in case a typecast has taken place. --- .../debugger/user_interface/gui/team_window/VariablesView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp index e49cd11843..b31f8250ca 100644 --- a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp @@ -175,6 +175,9 @@ public: Type* GetType() const { + if (fCastedType != NULL) + return fCastedType; + return fNodeChild->GetType(); }