diff options
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_update.cpp | 8 |
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: |