From b6aa7748182c468dc4e78b29382617befaea6a6a Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Fri, 20 May 2016 01:25:00 +0900 Subject: ARM, SOS: correct IP and SP value in ClrStack command (#5077) This fixes casting 64bit pointer value in 32bit machines that show wrong IP and SP values in ClrStack command. Related Issue: #5037 --- src/ToolBox/SOS/Strike/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ToolBox/SOS') diff --git a/src/ToolBox/SOS/Strike/util.h b/src/ToolBox/SOS/Strike/util.h index 1e319bf68d..1c4e811a40 100644 --- a/src/ToolBox/SOS/Strike/util.h +++ b/src/ToolBox/SOS/Strike/util.h @@ -745,7 +745,7 @@ namespace Output if (precision > width) precision = width; - ExtOut(leftAlign ? "%-*.*p" : "%*.*p", width, precision, (__int64)mValue); + ExtOut(leftAlign ? "%-*.*p" : "%*.*p", width, precision, SOS_PTR(mValue)); } else { -- cgit v1.2.3