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

fixed one pointer conversion warning, and removed an unnecessary mortalization

This commit is contained in:
Laurent Dami 2009-08-07 06:00:30 +00:00
parent ec38f98792
commit fb8cd54ee5

View file

@ -1319,7 +1319,7 @@ sqlite_db_create_collation(pTHX_ SV *dbh, const char *name, SV *func )
void
sqlite_db_collation_needed_dispatcher (
SV *dbh,
void *dbh,
sqlite3* db, /* unused */
int eTextRep, /* unused */
const char* collation_name
@ -1333,7 +1333,7 @@ sqlite_db_collation_needed_dispatcher (
ENTER;
SAVETMPS;
PUSHMARK(SP);
XPUSHs( sv_2mortal ( newSVsv(dbh ) ) );
XPUSHs( dbh );
XPUSHs( sv_2mortal ( newSVpv( collation_name, 0) ) );
PUTBACK;