rocksdb/tools
Igor Canadi 767777c2bd Turn on -Wshorten-64-to-32 and fix all the errors
Summary:
We need to turn on -Wshorten-64-to-32 for mobile. See D1671432 (internal phabricator) for details.

This diff turns on the warning flag and fixes all the errors. There were also some interesting errors that I might call bugs, especially in plain table. Going forward, I think it makes sense to have this flag turned on and be very very careful when converting 64-bit to 32-bit variables.

Test Plan: compiles

Reviewers: ljin, rven, yhchiang, sdong

Reviewed By: yhchiang

Subscribers: bobbaldwin, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D28689
2014-11-11 16:47:22 -05:00
..
auto_sanity_test.sh Explicitly cast char to signed char in Hash() 2014-09-08 18:57:40 -07:00
benchmark.sh minor update to benchmark script 2014-10-10 09:55:40 -07:00
blob_store_bench.cc Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
db_crashtest2.py Remove seek compaction 2014-06-20 10:23:02 +02:00
db_crashtest.py db_stress for dynamic options 2014-10-27 12:11:16 -07:00
db_repl_stress.cc remove atomic_pointer.h references 2014-10-27 15:12:20 -07:00
db_sanity_test.cc Explicitly cast char to signed char in Hash() 2014-09-08 18:57:40 -07:00
db_stress.cc Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
ldb_test.py Consistency Check Function 2014-03-20 13:42:45 -07:00
ldb.cc Revert "Don't compile ldb tool into static library" 2014-04-15 11:29:02 -07:00
reduce_levels_test.cc Fix unit tests errors 2014-09-18 13:32:44 -07:00
run_flash_bench.sh minor update to benchmark script 2014-10-10 09:55:40 -07:00
sst_dump.cc Expose sst_dump functionality as library call. 2014-11-07 17:23:58 -08:00