Subject: | Bad warn format string |
'make' produces:
DBI.xs: In function `XS_DBI_dbi_profile':
DBI.xs:4180: warning: int format, long int arg (arg 7)
This is fixed by the attached patch.
Subject: | dbi.patch |
--- DBI-1.57/DBI.xs.orig 2007-06-20 15:03:16.000000000 -0400
+++ DBI-1.57/DBI.xs 2007-06-20 15:03:46.000000000 -0400
@@ -4175,9 +4175,9 @@
t1, t2
);
if (DBIc_TRACE_LEVEL(imp_xxh) >= 9)
- warn("dbi_profile(%s, %s, %f, %f) =%s, gimme=%d",
+ warn("dbi_profile(%s, %s, %f, %f) =%s, gimme=%ld",
neatsvpv(statement,0), neatsvpv(method,0), t1, t2,
- neatsvpv(leaf,0), GIMME_V);
+ neatsvpv(leaf,0), (long)GIMME_V);
(void)cv; /* avoid unused var warnings */
if (GIMME_V == G_VOID)
ST(0) = &sv_undef; /* skip sv_mortalcopy if not needed */