1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix harmless compiler warning.

FossilOrigin-Name: ead4762dfcd284127e60483e14f88aa4f4f034c2e1efb68a150359ba8f307776
This commit is contained in:
mistachkin
2018-07-22 20:24:38 +00:00
parent 1e8487db29
commit 5db9a2b364
3 changed files with 8 additions and 8 deletions

View File

@@ -151,7 +151,7 @@ static int SQLITE_TCLAPI test_create_window(
if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR;
zName = Tcl_GetString(objv[2]);
pNew = ckalloc(sizeof(TestWindow));
pNew = (TestWindow*)ckalloc(sizeof(TestWindow));
memset(pNew, 0, sizeof(TestWindow));
pNew->xStep = Tcl_DuplicateObj(objv[3]);
pNew->xFinal = Tcl_DuplicateObj(objv[4]);