aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Hill <kyle.hill@tacomafia.net>2012-05-26 20:11:26 -0500
committerKyle Hill <kyle.hill@tacomafia.net>2012-05-26 20:11:26 -0500
commitb438ab2690a1ac363ee3a9e7102d11328cbc7932 (patch)
treec9f25ca4a2cc6a02024debf6f53e7f20323f7c7c
parent3ecbe472567839a9bcdfa364f3c8f38ae226e311 (diff)
Fixed compilation error in XBDateTime.cpp
-rw-r--r--xbmc/XBDateTime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/XBDateTime.cpp b/xbmc/XBDateTime.cpp
index e6f97dab0d..fca04e0135 100644
--- a/xbmc/XBDateTime.cpp
+++ b/xbmc/XBDateTime.cpp
@@ -1287,7 +1287,7 @@ CStdString CDateTime::GetAsRFC1123DateTime() const
else if (weekDay > 6)
weekDay = 6;
if (weekDay != time.GetDayOfWeek())
- CLog::Log(LOGWARNING, "Invalid day of week %d in %s", time.GetDayOfWeek(), time.GetAsDBDateTime());
+ CLog::Log(LOGWARNING, "Invalid day of week %d in %s", time.GetDayOfWeek(), time.GetAsDBDateTime().c_str());
int month = time.GetMonth();
if (month < 1)
@@ -1295,7 +1295,7 @@ CStdString CDateTime::GetAsRFC1123DateTime() const
else if (month > 12)
month = 12;
if (month != time.GetMonth())
- CLog::Log(LOGWARNING, "Invalid month %d in %s", time.GetMonth(), time.GetAsDBDateTime());
+ CLog::Log(LOGWARNING, "Invalid month %d in %s", time.GetMonth(), time.GetAsDBDateTime().c_str());
CStdString result;
result.Format("%s, %02i %s %04i %02i:%02i:%02i GMT", DAY_NAMES[weekDay], time.GetDay(), MONTH_NAMES[month - 1], time.GetYear(), time.GetHour(), time.GetMinute(), time.GetSecond());