diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mir_options.cpp | 2 | ||||
-rw-r--r-- | utils/mir_options.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/mir_options.cpp b/utils/mir_options.cpp index 7f64f3b43c..96ac3f374c 100644 --- a/utils/mir_options.cpp +++ b/utils/mir_options.cpp @@ -321,7 +321,7 @@ INT_PTR CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, cha break; case CONTROL_COLOR: - db_set_dw(0, module, ctrl->setting, (DWORD)SendDlgItemMessage(hwndDlg, ctrl->nID, CPM_GETCOLOUR, 0, 0)); + db_set_dw(0, module, ctrl->setting, (uint32_t)SendDlgItemMessage(hwndDlg, ctrl->nID, CPM_GETCOLOUR, 0, 0)); break; case CONTROL_RADIO: diff --git a/utils/mir_options.h b/utils/mir_options.h index bd66914e63..c2ecfeee9f 100644 --- a/utils/mir_options.h +++ b/utils/mir_options.h @@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. #define CONTROL_CHECKBOX 0 // Stored as uint8_t #define CONTROL_SPIN 1 // Stored as WORD -#define CONTROL_COLOR 2 // Stored as DWORD +#define CONTROL_COLOR 2 // Stored as uint32_t #define CONTROL_RADIO 3 // Stored as WORD #define CONTROL_COMBO 4 // Stored as WORD #define CONTROL_PROTOCOL_LIST 5 // Stored as BYTEs @@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. #define CONTROL_COMBO_TEXT 7 // Stored as TCHARs, max len 1024 #define CONTROL_COMBO_ITEMDATA 8 // Stored as TCHARs, max len 1024 #define CONTROL_FILE 9 // Stored as TCHARs, max len 1024 -#define CONTROL_INT 10 // Stored as DWORD +#define CONTROL_INT 10 // Stored as uint32_t typedef BOOL(*FPAllowProtocol) (const char *proto); |