summaryrefslogtreecommitdiff
path: root/protocols/Weather
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:58 +0300
commited4897b7ef69e862806a8c07f1fd475262d0c36e (patch)
tree414efc6365f455122956eac74b754505c8efaf15 /protocols/Weather
parent99893bf3aec9f4e9f0c4844c0987d129e1778c7e (diff)
massive warning fix
Diffstat (limited to 'protocols/Weather')
-rw-r--r--protocols/Weather/src/weather_update.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Weather/src/weather_update.cpp b/protocols/Weather/src/weather_update.cpp
index 12736b35be..1701b25868 100644
--- a/protocols/Weather/src/weather_update.cpp
+++ b/protocols/Weather/src/weather_update.cpp
@@ -406,19 +406,19 @@ int GetWeatherData(MCONTACT hContact)
// generate update URL
switch (i) {
case 0:
- mir_snprintf(loc, Data->UpdateURL, _T2A(id));
+ mir_snprintf(loc, Data->UpdateURL, _T2A(id).get());
break;
case 1:
- mir_snprintf(loc, Data->UpdateURL2, _T2A(id));
+ mir_snprintf(loc, Data->UpdateURL2, _T2A(id).get());
break;
case 2:
- mir_snprintf(loc, Data->UpdateURL3, _T2A(id));
+ mir_snprintf(loc, Data->UpdateURL3, _T2A(id).get());
break;
case 3:
- mir_snprintf(loc, Data->UpdateURL4, _T2A(id));
+ mir_snprintf(loc, Data->UpdateURL4, _T2A(id).get());
break;
default: