rocksdb/include/rocksdb
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
..
utilities CompactFiles, EventListener and GetDatabaseMetaData 2014-11-07 14:45:18 -08:00
c.h Remove allow_thread_local 2014-09-24 13:12:16 -07:00
cache.h Remove unused member(s) 2014-09-05 20:50:29 -07:00
compaction_filter.h Add missing include to use std::unique_ptr 2014-08-23 13:02:21 -04:00
comparator.h CompactFiles, EventListener and GetDatabaseMetaData 2014-11-07 14:45:18 -08:00
db.h Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h 2014-11-07 15:22:10 -08:00
env.h Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
filter_policy.h Implement full filter for block based table. 2014-09-08 10:37:05 -07:00
flush_block_policy.h move block based table related options BlockBasedTableOptions 2014-08-25 14:22:05 -07:00
immutable_options.h CompactFiles, EventListener and GetDatabaseMetaData 2014-11-07 14:45:18 -08:00
iostats_context.h Fix ios compile 2014-08-28 12:46:05 -04:00
iterator.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
ldb_tool.h [RocksDB] allow LDB tool to have customized key formatter 2014-06-23 15:35:40 -07:00
listener.h Fix -Wnon-virtual-dtor errors 2014-11-10 17:39:38 -05:00
memtablerep.h SkipListRep::LookaheadIterator 2014-10-07 11:48:23 -07:00
merge_operator.h Enhance partial merge to support multiple arguments 2014-03-24 17:57:13 -07:00
metadata.h Fixed -WShadow errors in db/db_test.cc and include/rocksdb/metadata.h 2014-11-07 14:57:51 -08:00
options.h Fix NewFileNumber() 2014-11-11 06:58:47 -08:00
perf_context.h Add a function to return current perf level 2014-07-10 11:35:48 -07:00
rate_limiter.h expose RateLimiter definition 2014-07-25 15:17:06 -07:00
slice_transform.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
slice.h Fix implicit compare 2014-11-07 12:41:05 -08:00
sst_dump_tool.h Expose sst_dump functionality as library call. 2014-11-07 17:23:58 -08:00
statistics.h Push- instead of pull-model for managing Write stalls 2014-09-08 11:20:25 -07:00
status.h CompactFiles, EventListener and GetDatabaseMetaData 2014-11-07 14:45:18 -08:00
table_properties.h TablePropertiesCollectorFactory 2014-05-13 12:30:55 -07:00
table.h Sanitize block-based table index type and check prefix_extractor 2014-10-17 21:18:36 -07:00
transaction_log.h Revert "Fix bad merge of D16791 and D16767" 2014-03-12 09:37:43 -07:00
types.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
universal_compaction.h Support Multiple DB paths (without having an interface to expose to users) 2014-07-02 21:14:44 -07:00
version.h Bump Version Number to 3.8 2014-11-10 12:10:56 -08:00
write_batch.h WriteBatchWithIndex: a wrapper of WriteBatch, with a searchable index 2014-08-18 16:37:38 -07:00