summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/CountryFlags/src/icons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CountryFlags/src/icons.cpp b/plugins/CountryFlags/src/icons.cpp
index 2bb8bf4a58..74f7287f03 100644
--- a/plugins/CountryFlags/src/icons.cpp
+++ b/plugins/CountryFlags/src/icons.cpp
@@ -247,7 +247,7 @@ void InitIcons(void)
phIconHandles = (HANDLE*)mir_alloc(nCountriesCount*sizeof(HANDLE));
if (phIconHandles != NULL) {
for (int i=0; i < nCountriesCount; ++i) {
- sid.pszDescription = countries[i].szName;
+ sid.pszDescription = (char*)countries[i].szName;
/* create identifier */
wsprintfA(szId,(countries[i].id == 0xFFFF) ? "%s0x%X" : "%s%i","flags_", countries[i].id); /* buffer safe */