[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-devel
Subject: [xine-devel] C99 fix for xmlparser
From: Bastien Nocera <hadess () hadess ! net>
Date: 2010-04-12 12:25:51
Message-ID: 1271075151.6731.6168.camel () localhost ! localdomain
[Download RAW message or body]
Heya,
As posted against totem-pl-parser's copy of xmlparser:
https://bugzilla.gnome.org/show_bug.cgi?id=575373#c16
Cheers
["xmlparser-c99-fix.patch" (xmlparser-c99-fix.patch)]
# HG changeset patch
# User Shixin Zeng <zeng.shixin@gmail.com>
# Date 1271074837 -3600
# Node ID 42b4a23eed743d4072f0f145d50cb55d356dd6de
# Parent cb99a1abe986c55e7926407eac9773df69abf140
Fix C99 usage
diff --git a/src/xine-utils/xmlparser.c b/src/xine-utils/xmlparser.c
--- a/src/xine-utils/xmlparser.c
+++ b/src/xine-utils/xmlparser.c
@@ -831,13 +831,14 @@
}
static void xml_parser_dump_node (const xml_node_t *node, int indent) {
+ size_t l;
xml_property_t *p;
xml_node_t *n;
printf ("%*s<%s ", indent, "", node->name);
- size_t l = strlen (node->name);
+ l = strlen (node->name);
p = node->props;
while (p) {
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic