Skip to content

Commit 5d3d4bf

Browse files
authored
Update casting-c-cx.md
1 parent ff4eb53 commit 5d3d4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cppcx/casting-c-cx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ ComPtr<IInspectable> inspectable = reinterpret_cast<IInspectable*>(winRtObject);
8787
// ...
8888
```
8989

90-
If you use **`reinterpret_cast`** to convert from oneWindows Runtime interface to another, you cause the object to be released twice. Therefore, only use this cast when you are converting to a non-C++ component extensions interface.
90+
If you use **`reinterpret_cast`** to convert from one Windows Runtime interface to another, you cause the object to be released twice. Therefore, only use this cast when you are converting to a non-C++ component extensions interface.
9191

9292
## ABI types
9393

0 commit comments

Comments
 (0)