Skip to content

Commit 1a57a6c

Browse files
committed
Removed typecast to silence warning.
1 parent 4bd2706 commit 1a57a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coders/svg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ static void SVGStartDocument(void *context)
15031503
if (svg_info->document == (xmlDocPtr) NULL)
15041504
return;
15051505
if (parser->encoding == NULL)
1506-
svg_info->document->encoding=(const xmlChar *) NULL;
1506+
svg_info->document->encoding=NULL;
15071507
else
15081508
svg_info->document->encoding=xmlStrdup(parser->encoding);
15091509
svg_info->document->standalone=parser->standalone;

0 commit comments

Comments
 (0)