Zhongyi Xie
3e994809a1
fix implicit conversion error reported by clang check (#5277)
Summary:
fix the following clang check errors
```
tools/db_stress.cc:3609:30: error: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
int num_keys = rand_keys.size();
~~~~~~~~ ~~~~~~~~~~^~~~~~
tools/db_stress.cc:3888:30: error: implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
int num_keys = rand_keys.size();
~~~~~~~~ ~~~~~~~~~~^~~~~~
2 errors generated.
make: *** [tools/db_stress.o] Error 1
```
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5277
Differential Revision: D15196620
Pulled By: miasantreble
fbshipit-source-id: d56b1420d4a9f1df875fc52877a5fbb342bc7cae
2019-05-03 10:02:27 -07:00
..
2018-08-02 15:42:42 -07:00
2017-12-01 10:42:05 -08:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2018-04-12 17:59:16 -07:00
2019-04-18 10:55:01 -07:00
2016-09-28 11:53:15 -07:00
2019-02-19 12:15:39 -08:00
2019-04-26 21:24:10 -07:00
2017-07-15 16:11:23 -07:00
2019-05-01 23:06:56 -07:00
2018-11-09 11:19:58 -08:00
2017-07-15 16:11:23 -07:00
2019-05-03 10:02:27 -07:00
2017-08-03 15:56:46 -07:00
2015-05-22 16:03:39 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2018-08-09 14:29:11 -07:00
2019-03-25 13:23:11 -07:00
2019-04-16 23:32:20 -07:00
2019-04-18 10:55:01 -07:00
2018-08-09 14:29:11 -07:00
2018-04-12 17:59:16 -07:00
2017-08-03 15:56:46 -07:00
2018-07-13 17:27:39 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2015-06-19 16:24:36 -07:00
2019-03-18 12:15:34 -07:00
2019-01-03 11:23:49 -08:00
2019-03-18 12:15:34 -07:00
2018-04-12 17:59:16 -07:00
2019-02-14 14:41:36 -08:00
2019-03-14 20:03:01 -07:00
2018-11-12 08:26:50 -08:00
2018-08-13 11:44:02 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2018-02-09 14:12:43 -08:00