1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a harmless compiler warning in the sessions test harness.

FossilOrigin-Name: d389e20ab07a76d0c4be3801265977fa977a4394
This commit is contained in:
drh
2014-03-06 15:01:11 +00:00
parent b7bc8c9849
commit 87778c7f96
3 changed files with 8 additions and 8 deletions

View File

@ -253,7 +253,7 @@ static int test_obj_eq_string(Tcl_Obj *p, const char *z){
int nObj;
char *zObj;
n = strlen(z);
n = (int)strlen(z);
zObj = Tcl_GetStringFromObj(p, &nObj);
return (nObj==n && (n==0 || 0==memcmp(zObj, z, n)));