https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6830ecb118c80f0dd625b…
commit 6830ecb118c80f0dd625b79fe37b66315e024f46
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Fri Jun 29 23:44:39 2018 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Jun 30 01:12:00 2018 +0200
[NOTEPAD] Globals.encFile: explicitly cast to ENCODING
---
base/applications/notepad/dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/notepad/dialog.c b/base/applications/notepad/dialog.c
index 04e6e7b837..d92e11a94f 100644
--- a/base/applications/notepad/dialog.c
+++ b/base/applications/notepad/dialog.c
@@ -496,7 +496,7 @@ DIALOG_FileSaveAs_Hook(HWND hDlg, UINT msg, WPARAM wParam, LPARAM
lParam)
{
hCombo = GetDlgItem(hDlg, ID_ENCODING);
if (hCombo)
- Globals.encFile = (int) SendMessage(hCombo, CB_GETCURSEL, 0, 0);
+ Globals.encFile = (ENCODING) SendMessage(hCombo, CB_GETCURSEL, 0,
0);
hCombo = GetDlgItem(hDlg, ID_EOLN);
if (hCombo)