Skip to content

Commit

Permalink
Fix of the crash in 64bit setup lib.
Browse files Browse the repository at this point in the history
Address was casted to LONG for passing to other function(s)
  • Loading branch information
lawrinn committed May 5, 2015
1 parent 09dd03d commit 22e2a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsn/odbc_dsn.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ my_bool DSNDialog(HWND hwndParent,

notCanceled= TRUE;
hwndMain= CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_DIALOG1), 0, DialogProc, 0);
SetWindowLongPtr(hwndMain, DWLP_USER, (LONG)Dsn);
SetWindowLongPtr(hwndMain, DWLP_USER, (LONG_PTR)Dsn);

/* Setting first not disabled page */
CurrentPage= -1;
Expand Down

0 comments on commit 22e2a6a

Please sign in to comment.