File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
docs/error-messages/compiler-warnings Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ ms.assetid: 5800c301-5afb-4af0-85c1-ceb54d775234
1919The warning occurs if the copy uses the intrinsic form of one of these CRT functions:
2020
2121- [ ` strcpy ` ] ( ../../c-runtime-library/reference/strcpy-wcscpy-mbscpy.md )
22-
2322- [ ` memset ` ] ( ../../c-runtime-library/reference/memset-wmemset.md )
24-
2523- [ ` memcpy ` ] ( ../../c-runtime-library/reference/memcpy-wmemcpy.md ) , [ ` wmemcpy ` ] ( ../../c-runtime-library/reference/memcpy-wmemcpy.md )
2624
2725The warning also appears when you cast a parameter to a larger data type, and then make a copy assignment from an lvalue reference.
@@ -41,7 +39,7 @@ The [`/sdl` (Enable Additional Security Checks)](../../build/reference/sdl-enabl
4139
4240## Examples
4341
44- The following sample generates C4789.
42+ The following sample generates C4789:
4543
4644``` cpp
4745// C4789.cpp
@@ -63,7 +61,7 @@ int main()
6361}
6462```
6563
66- The following sample also generates C4789.
64+ The following sample also generates C4789:
6765
6866``` cpp
6967// C4789b.cpp
You can’t perform that action at this time.
0 commit comments