Skip to content

Commit 8e6a626

Browse files
authored
Update compiler-warning-level-1-c4165.md
1 parent 6fd21cd commit 8e6a626

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4165.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ helpviewer_keywords: ["C4165"]
77
---
88
# Compiler Warning (level 3, off) C4165
99

10-
'HRESULT' is being converted to 'bool'; are you sure this is what you want?
10+
'`HRESULT`' is being converted to '`bool`'; are you sure this is what you want?
1111

12-
When an HRESULT is used in an [if](../../cpp/if-else-statement-cpp.md) statement, the HRESULT is converted to a [bool](../../cpp/bool-cpp.md) unless you explicitly test for the variable as an HRESULT.
12+
When an `HRESULT` is used in an [`if`](../../cpp/if-else-statement-cpp.md) statement, the `HRESULT` is converted to a [`bool`](../../cpp/bool-cpp.md) unless you explicitly test for the variable as an `HRESULT`.
1313

1414
Warning C4165 is off by default. For more information, see [Compiler Warnings That Are Off By Default](../../preprocessor/compiler-warnings-that-are-off-by-default.md).
1515

1616
## Example
1717

18-
The following sample generates C4165.
18+
The following sample generates C4165:
1919

2020
```cpp
2121
// C4165.cpp

0 commit comments

Comments
 (0)