Skip to content

Commit

Permalink
fix: use reinterpret_cast instead of c-style
Browse files Browse the repository at this point in the history
  • Loading branch information
brenca committed Jan 30, 2019
1 parent eb415a8 commit 08e4555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/native_window_views_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ bool NativeWindowViews::PreHandleMSG(UINT message,
}
case WM_NCCALCSIZE: {
if (!has_frame() && w_param == TRUE) {
NCCALCSIZE_PARAMS* params = (NCCALCSIZE_PARAMS*)l_param;
NCCALCSIZE_PARAMS* params = reinterpret_cast<NCCALCSIZE_PARAMS*>(l_param);
RECT PROPOSED = params->rgrc[0];
RECT BEFORE = params->rgrc[1];

Expand Down

0 comments on commit 08e4555

Please sign in to comment.