Update of /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10461
Modified Files:
encoding.c
Log Message:
-- Compute length of SAX2-reported attribute value as int (not long int)
as required by the fprintf format string (%.*s).
Index: encoding.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/encoding.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- encoding.c 8 Jan 2008 10:00:06 -0000 1.14
+++ encoding.c 9 Jan 2008 09:16:05 -0000 1.15
@@ -512,7 +512,7 @@
pre,
generate_uri_id (atts[2]),
generate_localname_id (atts[0]),
- atts[4] - atts[3],
+ (int) (atts[4] - atts[3]),
(char*) atts[3]);
else
fprintf (out_attr,
@@ -521,7 +521,7 @@
pre,
(char*) atts[2],
(char*) atts[0],
- atts[4] - atts[3],
+ (int) (atts[4] - atts[3]),
(char*) atts[3]);
if (shredstate.statistics)
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins