rocksdb/build_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
..
build_detect_platform Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
build_detect_version Refactor build_tools/build_detect_version 2014-01-06 08:44:43 +02:00
fbcode_config.sh Turn on -Wshadow 2014-11-07 12:57:08 -08:00
format-diff.sh Misc cleanup on performance branch 2014-01-17 14:26:29 -08:00
mac-install-gflags.sh escaped the special characters and added a dot 2014-06-24 00:14:02 -05:00
make_new_version.sh Create new branch instead of tag in make_new_version 2014-04-29 13:22:34 -04:00
make_package.sh Package generation for Ubuntu and CentOS 2014-09-29 16:09:46 -07:00
regression_build_test.sh Add db_bench with lots of column families to regression tests 2014-09-05 14:20:18 -07:00
unity Changes to support unity build: 2014-08-11 13:22:47 -04:00
valgrind_test.sh Clean up the Makefile and the build scripts 2013-08-15 12:59:45 -07:00
version.sh Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00