Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9611/compiler/debug
Modified Files:
Tag: May2009
coreprint.c
Log Message:
Fix compiler warning: format not a string literal and no format arguments.
The compiler on Ubuntu Jaunty complains about this.
U coreprint.c
Index: coreprint.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/coreprint.c,v
retrieving revision 1.51
retrieving revision 1.51.2.1
diff -u -d -r1.51 -r1.51.2.1
--- coreprint.c 7 May 2009 14:27:02 -0000 1.51
+++ coreprint.c 18 May 2009 14:16:29 -0000 1.51.2.1
@@ -151,7 +151,7 @@
static char label[32];
/** Print node with no content */
-#define L0(t) snprintf (label, sizeof(label), (t))
+#define L0(t) snprintf (label, sizeof(label), "%s", (t))
/** Print node with single content */
#define L2(l1, l2) snprintf (label, sizeof(label), "%s [%s]", (l1),
(l2))
/** Print node with two content parts */
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins