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:
parent
ec38f98792
commit
fb8cd54ee5
1 changed files with 2 additions and 2 deletions
4
dbdimp.c
4
dbdimp.c
|
@ -1319,7 +1319,7 @@ sqlite_db_create_collation(pTHX_ SV *dbh, const char *name, SV *func )
|
||||||
|
|
||||||
void
|
void
|
||||||
sqlite_db_collation_needed_dispatcher (
|
sqlite_db_collation_needed_dispatcher (
|
||||||
SV *dbh,
|
void *dbh,
|
||||||
sqlite3* db, /* unused */
|
sqlite3* db, /* unused */
|
||||||
int eTextRep, /* unused */
|
int eTextRep, /* unused */
|
||||||
const char* collation_name
|
const char* collation_name
|
||||||
|
@ -1333,7 +1333,7 @@ sqlite_db_collation_needed_dispatcher (
|
||||||
ENTER;
|
ENTER;
|
||||||
SAVETMPS;
|
SAVETMPS;
|
||||||
PUSHMARK(SP);
|
PUSHMARK(SP);
|
||||||
XPUSHs( sv_2mortal ( newSVsv(dbh ) ) );
|
XPUSHs( dbh );
|
||||||
XPUSHs( sv_2mortal ( newSVpv( collation_name, 0) ) );
|
XPUSHs( sv_2mortal ( newSVpv( collation_name, 0) ) );
|
||||||
PUTBACK;
|
PUTBACK;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue