Fix harmless compiler warnings in kvtest.c
FossilOrigin-Name: db6b39937dd9d6fcd5fcc582c8dd529caad755da
This commit is contained in:
parent
cbc65e5f4f
commit
b67e175448
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C The\sdbselftest\sutility\snow\sgenerates\shashes\sin\sthe\sselftest\stable\swith\s--init.\nIt\salso\saccepts\smultiple\sdatabase\sfiles\son\sthe\scommand-line.
|
||||
D 2017-02-07T20:51:38.461
|
||||
C Fix\sharmless\scompiler\swarnings\sin\skvtest.c
|
||||
D 2017-02-07T20:57:00.794
|
||||
F Makefile.in edb6bcdd37748d2b1c3422ff727c748df7ffe918
|
||||
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
|
||||
F Makefile.msc ba953c8921fc7e18333f61898007206de7e23964
|
||||
@ -904,7 +904,7 @@ F test/json101.test c0897616f32d95431f37fd291cb78742181980ac
|
||||
F test/json102.test bf3fe7a706d30936a76a0f7a0375e1e8e73aff5a
|
||||
F test/json103.test c5f6b85e69de05f6b3195f9f9d5ce9cd179099a0
|
||||
F test/keyword1.test 37ef6bba5d2ed5b07ecdd6810571de2956599dff
|
||||
F test/kvtest.c 156281b4ed688e9aabf1fbcdc5dec0487b267026
|
||||
F test/kvtest.c b9a9822dda05a1aa481215a52e2fc93cd8b22ee5
|
||||
F test/lastinsert.test 42e948fd6442f07d60acbd15d33fb86473e0ef63
|
||||
F test/laststmtchanges.test ae613f53819206b3222771828d024154d51db200
|
||||
F test/like.test 0603f4fa0dad50987f70032c05800cbfa8985302
|
||||
@ -1555,7 +1555,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P cb1e83f9583bf93ce7583d9f5e97272e2d43cfb8
|
||||
R 64e5750ab44994d5b187d93e5c4a1318
|
||||
P e68829c9bbc69bf4a0dc057e0a6e977f2fac79be
|
||||
R e8e95a0beaf31ff9600f2388a71f8dcd
|
||||
U drh
|
||||
Z f3a9d081d357071c2c4fc7a23224549e
|
||||
Z 62b1a410058a970df83f462c97cdf484
|
||||
|
@ -1 +1 @@
|
||||
e68829c9bbc69bf4a0dc057e0a6e977f2fac79be
|
||||
db6b39937dd9d6fcd5fcc582c8dd529caad755da
|
@ -473,13 +473,13 @@ static unsigned char *readFile(const char *zName, int *pnByte){
|
||||
if( in==0 ) return 0;
|
||||
pBuf = sqlite3_malloc64( nIn );
|
||||
if( pBuf==0 ) return 0;
|
||||
nRead = fread(pBuf, nIn, 1, in);
|
||||
nRead = fread(pBuf, (size_t)nIn, 1, in);
|
||||
fclose(in);
|
||||
if( nRead!=1 ){
|
||||
sqlite3_free(pBuf);
|
||||
return 0;
|
||||
}
|
||||
if( pnByte ) *pnByte = nIn;
|
||||
if( pnByte ) *pnByte = (int)nIn;
|
||||
return pBuf;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user