Skip to content

Commit ed309ac

Browse files
authored
Update compiler-warning-level-1-c4165.md
Acrolynx suggestions.
1 parent 7289731 commit ed309ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ms.assetid: f5bed515-2290-4f88-8dab-b45d95fe26ef
1010

1111
'HRESULT' is being converted to 'bool'; are you sure this is what you want?
1212

13-
When using an HRESULT in an [if](../../cpp/if-else-statement-cpp.md) statement, the HRESULT will be converted to a [bool](../../cpp/bool-cpp.md) unless you explicitly test for the variable as an HRESULT. This warning is off by default.
13+
When using an HRESULT 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. This warning is off by default.
1414

1515
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).
1616

1717
## Example
1818

19-
The following sample generates C4165
19+
The following sample generates C4165.
2020

2121
```cpp
2222
// C4165.cpp

0 commit comments

Comments
 (0)