summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-01-12 00:30:01 +0100
committerGravatar Nikias Bassen2012-01-12 00:30:01 +0100
commit33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425 (patch)
treec64f6f780500df4e0f216d774601f5465a7339ed /src/xplist.c
parent83fa6982dfddaed93195402e2e0b7435bc707e06 (diff)
downloadlibplist-33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425.tar.gz
libplist-33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425.tar.bz2
fix compiler warnings
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)
{
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);