1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Fix harmless compiler warnings in test code. No changes to the core.

FossilOrigin-Name: 16f83fec77668c021694fbb189b415bd3b90adc8
This commit is contained in:
drh
2011-08-25 18:54:46 +00:00
parent d7f6e906db
commit 860e332cdc
5 changed files with 14 additions and 12 deletions

View File

@@ -305,7 +305,7 @@ static int sqlthread_id(
Tcl_Obj *CONST objv[]
){
Tcl_ThreadId id = Tcl_GetCurrentThread();
Tcl_SetObjResult(interp, Tcl_NewIntObj((int)id));
Tcl_SetObjResult(interp, Tcl_NewIntObj(SQLITE_PTR_TO_INT(id)));
UNUSED_PARAMETER(clientData);
UNUSED_PARAMETER(objc);
UNUSED_PARAMETER(objv);