Fix compiler warnings in test_hexio.c.

FossilOrigin-Name: 6a2e0725c20520aa90abb2bc04037ee7acebb930
This commit is contained in:
drh 2009-12-02 18:03:57 +00:00
parent 2432e561c4
commit 614d265038
3 changed files with 19 additions and 9 deletions

View File

@ -1,5 +1,8 @@
C Modify\sa\stest\sin\sfts3b.test\sto\sreflect\sthe\sfact\sthat\sthe\sdocid\sfield\smay\snow\sbe\supdated.
D 2009-12-02T16:09:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
C Fix\scompiler\swarnings\sin\stest_hexio.c.
D 2009-12-02T18:03:58
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in c5827ead754ab32b9585487177c93bb00b9497b3
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -187,7 +190,7 @@ F src/test_btree.c 47cd771250f09cdc6e12dda5bc71bc0b3abc96e2
F src/test_config.c 220a67047af393756f55760fdf442d935d0d88f3
F src/test_devsym.c de3c9af2bb9a8b1e44525c449e4ec3f88e3d4110
F src/test_func.c 1c94388a23d4a9e7cd62ec79d612d1bae2451fa2
F src/test_hexio.c 0853ca2986c0cad788eb322b747cc1cbc1f1d31b
F src/test_hexio.c 415adbdb88cd9388831ce10edff76cb9e73d8a0b
F src/test_init.c 5d624ffd0409d424cf9adbfe1f056b200270077c
F src/test_intarray.c d879bbf8e4ce085ab966d1f3c896a7c8b4f5fc99
F src/test_intarray.h 489edb9068bb926583445cb02589344961054207
@ -775,7 +778,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P d17ec16b7c5051c904c09580a856593b2fb85edc
R 7a01e5790a2307f692084aa3068931e8
U dan
Z 57b07cd39d1b913e2abb6ce5a0b4f134
P ef5b7450292e6f89c2b36427a9cd6f8050ad16f4
R fdcf9d9c8dba46bc4428e5f238bee300
U drh
Z 2525219a794d012de45c85f3a9f8e5b2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFLFqwRoxKgR168RlERAhbDAJ4nqpZhwlgiSBPldDVHJo6fdeg0agCdH417
bE/tW3clXE3LvgWtW5ajIyU=
=DjIg
-----END PGP SIGNATURE-----

View File

@ -1 +1 @@
ef5b7450292e6f89c2b36427a9cd6f8050ad16f4
6a2e0725c20520aa90abb2bc04037ee7acebb930

View File

@ -352,7 +352,7 @@ static int read_varint(
}
zBlob = Tcl_GetByteArrayFromObj(objv[1], &nBlob);
nVal = getFts3Varint(zBlob, (sqlite3_uint64 *)(&iVal));
nVal = getFts3Varint((char*)zBlob, (sqlite3_int64 *)(&iVal));
Tcl_ObjSetVar2(interp, objv[2], 0, Tcl_NewWideIntObj(iVal), 0);
Tcl_SetObjResult(interp, Tcl_NewIntObj(nVal));
return TCL_OK;