summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/statistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/statistics.cpp')
-rw-r--r--plugins/TrafficCounter/src/statistics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TrafficCounter/src/statistics.cpp b/plugins/TrafficCounter/src/statistics.cpp
index f34f796bc8..67a43b225d 100644
--- a/plugins/TrafficCounter/src/statistics.cpp
+++ b/plugins/TrafficCounter/src/statistics.cpp
@@ -276,7 +276,7 @@ INT_PTR CALLBACK DlgProcOptStatistics(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
switch (lplvcd->nmcd.dwDrawStage)
{
case CDDS_PREPAINT: // Перед началом рисования всего ListView.
- SetWindowLong(hwndDlg, DWLP_MSGRESULT, CDRF_NOTIFYITEMDRAW);
+ SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, CDRF_NOTIFYITEMDRAW);
return TRUE;
case CDDS_ITEMPREPAINT: // Перед началом рисования строки.
{
@@ -294,7 +294,7 @@ INT_PTR CALLBACK DlgProcOptStatistics(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
b += b > 0x80 ? -40 : 40;
lplvcd->clrTextBk = RGB(r, g, b);
}
- SetWindowLong(hwndDlg, DWLP_MSGRESULT, CDRF_NEWFONT);
+ SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, CDRF_NEWFONT);
return TRUE;
}
}