summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
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 /include/m_protoint.h
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r--include/m_protoint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 4876656bd9..74490fe48f 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -119,9 +119,9 @@ public:
__forceinline int getWord(MCONTACT hContact, const char *name, uint16_t defaultValue = 0) {
return db_get_w(hContact, m_szModuleName, name, defaultValue); }
- __forceinline DWORD getDword(const char *name, DWORD defaultValue = 0) {
+ __forceinline uint32_t getDword(const char *name, uint32_t defaultValue = 0) {
return db_get_dw(0, m_szModuleName, name, defaultValue); }
- __forceinline DWORD getDword(MCONTACT hContact, const char *name, DWORD defaultValue = 0) {
+ __forceinline uint32_t getDword(MCONTACT hContact, const char *name, uint32_t defaultValue = 0) {
return db_get_dw(hContact, m_szModuleName, name, defaultValue); }
__forceinline INT_PTR getString(const char *name, DBVARIANT *result) {
@@ -170,8 +170,8 @@ public:
__forceinline void setWord(const char *name, uint16_t value) { db_set_w(0, m_szModuleName, name, value); }
__forceinline void setWord(MCONTACT hContact, const char *name, uint16_t value) { db_set_w(hContact, m_szModuleName, name, value); }
- __forceinline void setDword(const char *name, DWORD value) { db_set_dw(0, m_szModuleName, name, value); }
- __forceinline void setDword(MCONTACT hContact, const char *name, DWORD value) { db_set_dw(hContact, m_szModuleName, name, value); }
+ __forceinline void setDword(const char *name, uint32_t value) { db_set_dw(0, m_szModuleName, name, value); }
+ __forceinline void setDword(MCONTACT hContact, const char *name, uint32_t value) { db_set_dw(hContact, m_szModuleName, name, value); }
__forceinline void setString(const char *name, const char* value) { db_set_s(0, m_szModuleName, name, value); }
__forceinline void setString(MCONTACT hContact, const char *name, const char* value) { db_set_s(hContact, m_szModuleName, name, value); }