summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/extBackg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 17:06:04 +0300
commit1039b2829a264280493ba0fa979214fe024dc70c (patch)
tree8fa6a60eb46627582c372b56a4a1d4754d6732c3 /plugins/Clist_nicer/src/extBackg.cpp
parent62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff)
WORD -> uint16_t
Diffstat (limited to 'plugins/Clist_nicer/src/extBackg.cpp')
-rw-r--r--plugins/Clist_nicer/src/extBackg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp
index 697ef85f7c..9b4e383781 100644
--- a/plugins/Clist_nicer/src/extBackg.cpp
+++ b/plugins/Clist_nicer/src/extBackg.cpp
@@ -1130,8 +1130,8 @@ static void BTN_ReadItem(char *itemName, char *file)
}
case 'w':
{
- WORD value = (WORD)atol(&szBuffer[1]);
- *((WORD *)&pValue[0]) = value;
+ uint16_t value = (uint16_t)atol(&szBuffer[1]);
+ *((uint16_t *)&pValue[0]) = value;
tmpItem.type = DBVT_WORD;
break;
}
@@ -1440,12 +1440,12 @@ void extbk_import(char *file, HWND hwndDlg)
mir_snprintf(szKey, "Font%dFlags", n);
data = 0;
GetPrivateProfileStructA(szSection, "Flags", &data, 4, file);
- db_set_dw(0, "CLC", szKey, (WORD)data);
+ db_set_dw(0, "CLC", szKey, (uint16_t)data);
mir_snprintf(szKey, "Font%dAs", n);
data = 0;
GetPrivateProfileStructA(szSection, "SameAs", &data, 2, file);
- db_set_dw(0, "CLC", szKey, (WORD)data);
+ db_set_dw(0, "CLC", szKey, (uint16_t)data);
}
}
i = 0;
@@ -1464,7 +1464,7 @@ void extbk_import(char *file, HWND hwndDlg)
db_set_dw(0, _tagSettings[i].szModule, _tagSettings[i].szSetting, data);
break;
case 2:
- db_set_w(0, _tagSettings[i].szModule, _tagSettings[i].szSetting, (WORD)data);
+ db_set_w(0, _tagSettings[i].szModule, _tagSettings[i].szSetting, (uint16_t)data);
break;
}
i++;