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
..
2014-05-14 11:49:01 -07:00
2014-08-14 17:01:20 -07:00
2014-11-10 17:39:38 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-04-10 15:27:42 -07:00
2014-11-06 11:14:28 -08:00
2014-08-14 14:56:11 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-05-05 11:11:48 -07:00
2013-11-18 11:40:16 -08:00
2014-11-11 16:47:22 -05:00
2014-10-31 11:59:54 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-04-11 10:54:47 -07:00
2014-11-07 15:04:30 -08:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-08-19 09:52:54 -04:00
2014-08-19 06:48:21 -07:00
2014-11-11 16:47:22 -05:00
2014-09-27 10:06:13 +02:00
2013-10-16 17:48:41 -07:00
2014-11-11 16:47:22 -05:00
2013-10-16 17:48:41 -07:00
2014-10-30 13:34:44 -07:00
2014-11-11 16:47:22 -05:00
2014-08-11 13:22:47 -04:00
2014-07-18 16:58:13 -07:00
2014-11-05 00:12:20 -08:00
2014-11-11 16:47:22 -05:00
2014-11-03 17:22:34 -08:00
2014-10-30 13:36:18 -07:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-11-11 16:47:22 -05:00
2014-05-05 16:43:37 -07:00
2014-11-11 16:47:22 -05:00
2014-07-01 17:14:15 -07:00
2014-11-11 16:47:22 -05:00
2014-05-05 16:43:37 -07:00
2014-11-11 16:47:22 -05:00
2014-08-11 13:22:47 -04:00
2013-10-16 17:48:41 -07:00
2014-09-04 23:06:23 +08:00
2014-09-04 23:06:23 +08:00
2014-08-28 12:46:05 -04:00
2014-08-28 12:46:05 -04:00
2014-10-31 19:22:49 -07:00
2014-11-11 16:47:22 -05:00
2014-10-31 19:22:49 -07:00
2014-10-31 19:22:49 -07:00
2014-09-23 16:56:34 -07:00
2014-09-23 16:56:34 -07:00
2014-05-09 08:41:02 -07:00
2014-09-23 01:10:46 +08:00
2014-09-21 22:20:00 +08:00
2014-01-14 16:19:09 -08:00
2014-10-31 15:16:31 -07:00
2014-11-11 16:47:22 -05:00
2014-10-31 15:16:31 -07:00
2013-10-16 17:48:41 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-06-16 15:41:46 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-11-04 16:23:05 -08:00
2014-10-31 13:30:08 -07:00
2014-11-07 14:45:18 -08:00
2014-09-02 12:04:22 -07:00
2014-07-10 11:35:48 -07:00
2014-04-10 15:27:42 -07:00
2013-10-16 17:48:41 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2014-07-25 15:17:06 -07:00
2014-09-04 17:40:41 -07:00
2014-09-30 23:30:32 +02:00
2014-10-07 11:48:23 -07:00
2014-05-13 16:08:21 -07:00
2014-11-09 13:01:50 -05:00
2014-09-05 14:14:37 +08:00
2014-07-28 12:10:49 -07:00
2014-11-11 16:47:22 -05:00
2013-12-03 12:42:15 -08:00
2014-07-28 12:22:37 -07:00
2014-04-09 21:17:14 -07:00
2014-04-09 21:17:14 -07:00
2014-04-17 10:49:58 -07:00
2014-04-17 14:29:28 -07:00
2014-10-31 15:08:10 -07:00
2014-10-31 15:08:10 -07:00
2014-09-08 22:24:40 -07:00
2014-10-29 15:42:36 -07:00
2014-10-31 11:59:54 -07:00
2014-04-22 21:13:34 -07:00
2014-10-21 17:28:31 -07:00
2014-08-27 11:05:41 -07:00
2014-05-01 14:09:32 -04:00
2014-05-01 14:09:32 -04:00