diff --git a/src/etc/natvis/libstd.natvis b/src/etc/natvis/libstd.natvis
index 4e81173d3d0b8..f791979800f19 100644
--- a/src/etc/natvis/libstd.natvis
+++ b/src/etc/natvis/libstd.natvis
@@ -41,7 +41,7 @@
n--
- - static_cast<tuple<$T1, $T2>*>(base.table.ctrl.pointer)[-(i + 1)].__1
+ - ((tuple<$T1, $T2>*)base.table.ctrl.pointer)[-(i + 1)].__1
i++
@@ -65,7 +65,7 @@
n--
- - static_cast<$T1*>(map.base.table.ctrl.pointer)[-(i + 1)]
+ - (($T1*)map.base.table.ctrl.pointer)[-(i + 1)]
i++