Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/minhook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2016-06-16 09:43:57 +0300
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2016-06-16 09:43:57 +0300
commitb438b5680449a9eb4147e9bce702e07058e10394 (patch)
tree20c666e0be4a547cb5cc11d2710ebfd0e274bf6f
parent0740da73c50a7e735b9ff1d1660dac18aeb16e5d (diff)
Fix some odd comments.
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 74f4709..3c438b0 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -93,7 +93,7 @@ static LPVOID FindPrevFreeRegion(LPVOID pAddress, LPVOID pMinAddr, DWORD dwAlloc
{
ULONG_PTR tryAddr = (ULONG_PTR)pAddress;
- // Round down to the next allocation granularity.
+ // Round down to the allocation granularity.
tryAddr -= tryAddr % dwAllocationGranularity;
// Start from the previous allocation granularity multiply.
@@ -124,7 +124,7 @@ static LPVOID FindNextFreeRegion(LPVOID pAddress, LPVOID pMaxAddr, DWORD dwAlloc
{
ULONG_PTR tryAddr = (ULONG_PTR)pAddress;
- // Round down to the next allocation granularity.
+ // Round down to the allocation granularity.
tryAddr -= tryAddr % dwAllocationGranularity;
// Start from the next allocation granularity multiply.