diff options
| author | 2012-01-12 00:30:01 +0100 | |
|---|---|---|
| committer | 2012-01-12 00:30:01 +0100 | |
| commit | 33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425 (patch) | |
| tree | c64f6f780500df4e0f216d774601f5465a7339ed /src/xplist.c | |
| parent | 83fa6982dfddaed93195402e2e0b7435bc707e06 (diff) | |
| download | libplist-33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425.tar.gz libplist-33b8dfb90ecc5b4b2559c1fb43d7b743b72bf425.tar.bz2 | |
fix compiler warnings
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 2 |
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); |
