summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorHiroshi Inoue2016-01-13 00:53:14 +0000
committerHiroshi Inoue2016-02-27 11:11:51 +0000
commit4f45057a6ad848938e34eea278feba9ca0eaa0e5 (patch)
tree22be61ad3bfe9d1068f8495cd46c7ddb3cce6c26 /setup.c
parentb014ec5607a67978bdf4277b2ff46e0d3a909253 (diff)
Correct a cast.
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index b0b1373..77b38d3 100644
--- a/setup.c
+++ b/setup.c
@@ -388,7 +388,7 @@ ConfigDlgProc(HWND hdlg,
{
HBRUSH hBrush = (HBRUSH)GetStockObject(LTGRAY_BRUSH);
SetTextColor((HDC)wParam, RGB(255, 0, 0));
- return (long)hBrush;
+ return (LRESULT)hBrush;
}
break;
}