summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xplist.c b/src/xplist.c
index edce2f9..ba312a1 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -342,7 +342,7 @@ static void xml_to_node(xmlNodePtr xml_node, plist_t * plist_node)
342 { 342 {
343 xmlChar *strval = xmlNodeGetContent(node); 343 xmlChar *strval = xmlNodeGetContent(node);
344 time_t time = 0; 344 time_t time = 0;
345 if (strlen(strval) >= 11) { 345 if (strlen((const char*)strval) >= 11) {
346 struct tm btime; 346 struct tm btime;
347 parse_date((const char*)strval, &btime); 347 parse_date((const char*)strval, &btime);
348 time = mktime(&btime); 348 time = mktime(&btime);