1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

DBD-SQLite: needs to cast to avoid warnings

This commit is contained in:
Kenichi Ishigaki 2009-04-07 17:11:50 +00:00
parent 85d1b98aa2
commit e674c69e0f

View file

@ -350,7 +350,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth)
/* warn("execute\n"); */ /* warn("execute\n"); */
if (!DBIc_ACTIVE(imp_dbh)) { 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; return FALSE;
} }