diff --git a/cmake/external/onnx_protobuf.natvis b/cmake/external/onnx_protobuf.natvis index e973de6591..d0be02d14b 100644 --- a/cmake/external/onnx_protobuf.natvis +++ b/cmake/external/onnx_protobuf.natvis @@ -34,7 +34,7 @@ - {{ { ( *(std::string*)(ptr_ & ~0x3) } }} + {{ { *(std::string*)((uintptr_t)(ptr_) & ~0x3) } }}