Skip to content

Commit

Permalink
fix warned code.
Browse files Browse the repository at this point in the history
  • Loading branch information
sayurin committed Apr 19, 2018
1 parent 2b3842b commit 0fcd64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace detail {
if (uMsg == WM_INITDIALOG) {
auto ptr = reinterpret_cast<Data*>(lParam);
SetWindowLongPtrW(hwndDlg, GWLP_USERDATA, lParam);
auto result = TRUE;
INT_PTR result = TRUE;
if constexpr (hasOnInit<Data>())
result = ptr->OnInit(hwndDlg);
if constexpr (hasResizable<Data>())
Expand Down

0 comments on commit 0fcd64c

Please sign in to comment.