diff options
Diffstat (limited to 'plugins/CountryFlags/src/ip2country.cpp')
-rw-r--r-- | plugins/CountryFlags/src/ip2country.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CountryFlags/src/ip2country.cpp b/plugins/CountryFlags/src/ip2country.cpp index a583129741..dad6b0b1d8 100644 --- a/plugins/CountryFlags/src/ip2country.cpp +++ b/plugins/CountryFlags/src/ip2country.cpp @@ -177,7 +177,7 @@ static void AppendToByteBuffer(struct ResizableByteBuffer *buffer,const void *ap buffer->cbAlloced+=ALLOC_STEP+cbAppendSize;
OutputDebugStringA("reallocating memory...\n"); /* all ascii */
}
- CopyMemory(&buffer->buf[buffer->cbLength],append,cbAppendSize);
+ memcpy(&buffer->buf[buffer->cbLength],append,cbAppendSize);
buffer->cbLength+=cbAppendSize;
}
|