Skip to content

Commit

Permalink
fix: Allocation to Protection in comment (#759)
Browse files Browse the repository at this point in the history
Fixes #733
  • Loading branch information
BenjaminMichaelis authored Apr 4, 2024
1 parent 43e69a9 commit 555cebb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Errata.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ Zhou Jing | 18 | 902-903 | Change CommandLineAliasAttribute to CommandLineSwitch
Zhou Jing | 23 | 1105 | Change `Length = 10` in listing 23.20 to `Length = 12` to show entire output message
Zhou Jing | 18 | 926-927 | Change 'LastName' references to be 'FirstName' in paragraphs
Jinhang He | 5 | 255 | Edit listing 5.20 to used `image[index]` for the second print statement
Zhou Jing | 18 | 908 | Change comment in Listing 18.21 to "Restrict the attribute to properties and fields" from "Restrict the attribute to properties and methods"
Zhou Jing | 18 | 908 | Change comment in Listing 18.21 to "Restrict the attribute to properties and fields" from "Restrict the attribute to properties and methods"
Zhou Jing | 23 | 1080 | Change "DWORD flProtect); // The type of memory allocation" to "// The type of memory protection"
2 changes: 1 addition & 1 deletion src/Chapter23/Listing23.02.TheVirtualAllocExAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ LPVOID VirtualAllocEx(
// is NULL, the function rounds dwSize
// up to the next page boundary.
DWORD flAllocationType, // The type of memory allocation
DWORD flProtect); // The type of memory allocation
DWORD flProtect); // The type of memory protection
#endregion INCLUDE
}

0 comments on commit 555cebb

Please sign in to comment.