summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /utils
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'utils')
-rw-r--r--utils/mir_options.cpp2
-rw-r--r--utils/mir_options.h4
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);