summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-21 14:25:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-21 14:25:50 +0000
commit646d3950702c34475e9bcb05ebe380f6874a73d2 (patch)
treed77be1574a95c35166dcc7416ef0f84abd1d6c7c
parent0999d9f9a1654c4fcbd1fc4f4fcf27080dd979e2 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 */