From 33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 12 Jan 2012 00:30:01 +0100 Subject: fix compiler warnings --- src/xplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xplist.c') 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) { xmlChar *strval = xmlNodeGetContent(node); time_t time = 0; - if (strlen(strval) >= 11) { + if (strlen((const char*)strval) >= 11) { struct tm btime; parse_date((const char*)strval, &btime); time = mktime(&btime); -- cgit v1.1-32-gdbae