From e674c69e0ff01260b231dd871fa653761fabf3c8 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Tue, 7 Apr 2009 17:11:50 +0000 Subject: [PATCH] DBD-SQLite: needs to cast to avoid warnings --- dbdimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbdimp.c b/dbdimp.c index 9ef1527..8213d03 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -350,7 +350,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth) /* warn("execute\n"); */ if (!DBIc_ACTIVE(imp_dbh)) { - sqlite_error(sth, (imp_xxh_t*)imp_sth, &PL_sv_undef, "attempt to execute on inactive database handle"); + sqlite_error(sth, (imp_xxh_t*)imp_sth, (int)&PL_sv_undef, "attempt to execute on inactive database handle"); return FALSE; }