From 646d3950702c34475e9bcb05ebe380f6874a73d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Oct 2012 14:25:50 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CountryFlags/src/icons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CountryFlags/src') 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 */ -- cgit v1.2.3