diff options
Diffstat (limited to 'plugins/HistoryStats/src/main.cpp')
-rw-r--r-- | plugins/HistoryStats/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index a3fc660c42..d871dff4c9 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -221,7 +221,7 @@ static INT_PTR MenuHistoryPaste(WPARAM wParam, LPARAM lParam) memset(&dbe, 0, sizeof(dbe));
dbe.cbSize = sizeof(dbe);
- dbe.pBlob = reinterpret_cast<BYTE*>(malloc(blobBuffer));
+ dbe.pBlob = reinterpret_cast<uint8_t*>(malloc(blobBuffer));
while (hEvent)
{
@@ -230,7 +230,7 @@ static INT_PTR MenuHistoryPaste(WPARAM wParam, LPARAM lParam) if (blobBuffer < dbe.cbBlob)
{
blobBuffer = 4096 * ((4095 + dbe.cbBlob) / 4096);
- dbe.pBlob = reinterpret_cast<BYTE*>(realloc(dbe.pBlob, blobBuffer));
+ dbe.pBlob = reinterpret_cast<uint8_t*>(realloc(dbe.pBlob, blobBuffer));
}
if (db_event_get(hEvent, &dbe) == 0) {
|