Fix 32-bit errors
Fix 32-bit errors

Summary: https://www.facebook.com/groups/rocksdb.dev/permalink/590438347721350/

Test Plan: compiles

Reviewers: sdong, ljin, yhchiang

Reviewed By: yhchiang

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D19197

Andymic/rocksdb,kaschaeffer/rocksdb,virtdb/rocksdb,jalexanderqed/rocksdb,SunguckLee/RocksDB,tsheasha/rocksdb,kaschaeffer/rocksdb,SunguckLee/RocksDB,tschottdorf/rocksdb,norton/rocksdb,wlqGit/rocksdb,anagav/rocksdb,kaschaeffer/rocksdb,Applied-Duality/rocksdb,kaschaeffer/rocksdb,temicai/rocksdb,wenduo/rocksdb,temicai/rocksdb,wat-ze-hex/rocksdb,virtdb/rocksdb,skunkwerks/rocksdb,flabby/rocksdb,SunguckLee/RocksDB,sorphi/rocksdb,temicai/rocksdb,tizzybec/rocksdb,JackLian/rocksdb,tschottdorf/rocksdb,ylong/rocksdb,bbiao/rocksdb,mbarbon/rocksdb,vashstorm/rocksdb,facebook/rocksdb,JoeWoo/rocksdb,sorphi/rocksdb,Andymic/rocksdb,vashstorm/rocksdb,amyvmiwei/rocksdb,rDSN-Projects/rocksdb.replicated,geraldoandradee/rocksdb,vashstorm/rocksdb,dkorolev/rocksdb,wat-ze-hex/rocksdb,IMCG/RcoksDB,NickCis/rocksdb,ryneli/rocksdb,biddyweb/rocksdb,JohnPJenkins/rocksdb,ryneli/rocksdb,lgscofield/rocksdb,fengshao0907/rocksdb,norton/rocksdb,wat-ze-hex/rocksdb,ylong/rocksdb,NickCis/rocksdb,msb-at-yahoo/rocksdb,vashstorm/rocksdb,JoeWoo/rocksdb,sorphi/rocksdb,wenduo/rocksdb,Applied-Duality/rocksdb,Andymic/rocksdb,vmx/rocksdb,hobinyoon/rocksdb,caijieming-baidu/rocksdb,Applied-Duality/rocksdb,lgscofield/rocksdb,IMCG/RcoksDB,JoeWoo/rocksdb,wenduo/rocksdb,SunguckLee/RocksDB,jalexanderqed/rocksdb,geraldoandradee/rocksdb,makelivedotnet/rocksdb,luckywhu/rocksdb,JohnPJenkins/rocksdb,luckywhu/rocksdb,JoeWoo/rocksdb,JohnPJenkins/rocksdb,lgscofield/rocksdb,alihalabyah/rocksdb,geraldoandradee/rocksdb,dkorolev/rocksdb,wskplho/rocksdb,ryneli/rocksdb,vmx/rocksdb,dkorolev/rocksdb,zhangpng/rocksdb,temicai/rocksdb,biddyweb/rocksdb,ryneli/rocksdb,flabby/rocksdb,tschottdorf/rocksdb,siddhartharay007/rocksdb,bbiao/rocksdb,vmx/rocksdb,msb-at-yahoo/rocksdb,anagav/rocksdb,facebook/rocksdb,anagav/rocksdb,Vaisman/rocksdb,msb-at-yahoo/rocksdb,caijieming-baidu/rocksdb,wlqGit/rocksdb,norton/rocksdb,wat-ze-hex/rocksdb,dkorolev/rocksdb,JackLian/rocksdb,JackLian/rocksdb,ylong/rocksdb,mbarbon/rocksdb,fengshao0907/rocksdb,jalexanderqed/rocksdb,Applied-Duality/rocksdb,Vaisman/rocksdb,ylong/rocksdb,makelivedotnet/rocksdb,zhangpng/rocksdb,bbiao/rocksdb,facebook/rocksdb,JackLian/rocksdb,zhangpng/rocksdb,fengshao0907/rocksdb,wenduo/rocksdb,mbarbon/rocksdb,vashstorm/rocksdb,tsheasha/rocksdb,NickCis/rocksdb,sorphi/rocksdb,facebook/rocksdb,fengshao0907/rocksdb,skunkwerks/rocksdb,caijieming-baidu/rocksdb,OverlordQ/rocksdb,hobinyoon/rocksdb,mbarbon/rocksdb,alihalabyah/rocksdb,makelivedotnet/rocksdb,Vaisman/rocksdb,siddhartharay007/rocksdb,OverlordQ/rocksdb,geraldoandradee/rocksdb,vashstorm/rocksdb,wlqGit/rocksdb,bbiao/rocksdb,dkorolev/rocksdb,lgscofield/rocksdb,luckywhu/rocksdb,skunkwerks/rocksdb,alihalabyah/rocksdb,RyanTech/rocksdb,rDSN-Projects/rocksdb.replicated,RyanTech/rocksdb,skunkwerks/rocksdb,luckywhu/rocksdb,JohnPJenkins/rocksdb,sorphi/rocksdb,msb-at-yahoo/rocksdb,siddhartharay007/rocksdb,RyanTech/rocksdb,wat-ze-hex/rocksdb,facebook/rocksdb,bbiao/rocksdb,biddyweb/rocksdb,rDSN-Projects/rocksdb.replicated,amyvmiwei/rocksdb,Vaisman/rocksdb,flabby/rocksdb,ryneli/rocksdb,luckywhu/rocksdb,norton/rocksdb,JoeWoo/rocksdb,anagav/rocksdb,lgscofield/rocksdb,Vaisman/rocksdb,IMCG/RcoksDB,sorphi/rocksdb,virtdb/rocksdb,amyvmiwei/rocksdb,tizzybec/rocksdb,flabby/rocksdb,rDSN-Projects/rocksdb.replicated,flabby/rocksdb,hobinyoon/rocksdb,skunkwerks/rocksdb,geraldoandradee/rocksdb,tschottdorf/rocksdb,zhangpng/rocksdb,tizzybec/rocksdb,zhangpng/rocksdb,wenduo/rocksdb,amyvmiwei/rocksdb,lgscofield/rocksdb,virtdb/rocksdb,norton/rocksdb,Applied-Duality/rocksdb,makelivedotnet/rocksdb,tsheasha/rocksdb,virtdb/rocksdb,amyvmiwei/rocksdb,ylong/rocksdb,NickCis/rocksdb,Vaisman/rocksdb,wskplho/rocksdb,msb-at-yahoo/rocksdb,temicai/rocksdb,ryneli/rocksdb,hobinyoon/rocksdb,luckywhu/rocksdb,Andymic/rocksdb,lgscofield/rocksdb,wenduo/rocksdb,fengshao0907/rocksdb,wlqGit/rocksdb,geraldoandradee/rocksdb,SunguckLee/RocksDB,wskplho/rocksdb,anagav/rocksdb,wskplho/rocksdb,JohnPJenkins/rocksdb,tsheasha/rocksdb,siddhartharay007/rocksdb,hobinyoon/rocksdb,amyvmiwei/rocksdb,Andymic/rocksdb,tizzybec/rocksdb,facebook/rocksdb,IMCG/RcoksDB,siddhartharay007/rocksdb,JohnPJenkins/rocksdb,rDSN-Projects/rocksdb.replicated,JackLian/rocksdb,wat-ze-hex/rocksdb,vmx/rocksdb,temicai/rocksdb,ylong/rocksdb,virtdb/rocksdb,Applied-Duality/rocksdb,makelivedotnet/rocksdb,Applied-Duality/rocksdb,vmx/rocksdb,OverlordQ/rocksdb,fengshao0907/rocksdb,IMCG/RcoksDB,zhangpng/rocksdb,vmx/rocksdb,kaschaeffer/rocksdb,alihalabyah/rocksdb,RyanTech/rocksdb,SunguckLee/RocksDB,norton/rocksdb,tsheasha/rocksdb,IMCG/RcoksDB,flabby/rocksdb,OverlordQ/rocksdb,norton/rocksdb,OverlordQ/rocksdb,kaschaeffer/rocksdb,tsheasha/rocksdb,alihalabyah/rocksdb,anagav/rocksdb,JoeWoo/rocksdb,tsheasha/rocksdb,mbarbon/rocksdb,jalexanderqed/rocksdb,JackLian/rocksdb,wlqGit/rocksdb,Vaisman/rocksdb,rDSN-Projects/rocksdb.replicated,ylong/rocksdb,tsheasha/rocksdb,ryneli/rocksdb,biddyweb/rocksdb,hobinyoon/rocksdb,JoeWoo/rocksdb,bbiao/rocksdb,alihalabyah/rocksdb,bbiao/rocksdb,fengshao0907/rocksdb,wat-ze-hex/rocksdb,biddyweb/rocksdb,RyanTech/rocksdb,wlqGit/rocksdb,rDSN-Projects/rocksdb.replicated,siddhartharay007/rocksdb,wskplho/rocksdb,bbiao/rocksdb,RyanTech/rocksdb,jalexanderqed/rocksdb,dkorolev/rocksdb,RyanTech/rocksdb,vmx/rocksdb,tschottdorf/rocksdb,caijieming-baidu/rocksdb,biddyweb/rocksdb,tizzybec/rocksdb,tizzybec/rocksdb,anagav/rocksdb,SunguckLee/RocksDB,kaschaeffer/rocksdb,JackLian/rocksdb,facebook/rocksdb,hobinyoon/rocksdb,hobinyoon/rocksdb,wlqGit/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,flabby/rocksdb,msb-at-yahoo/rocksdb,facebook/rocksdb,makelivedotnet/rocksdb,OverlordQ/rocksdb,mbarbon/rocksdb,mbarbon/rocksdb,dkorolev/rocksdb,zhangpng/rocksdb,tizzybec/rocksdb,Andymic/rocksdb,sorphi/rocksdb,makelivedotnet/rocksdb,wenduo/rocksdb,skunkwerks/rocksdb,virtdb/rocksdb,siddhartharay007/rocksdb,vmx/rocksdb,wskplho/rocksdb,caijieming-baidu/rocksdb,skunkwerks/rocksdb,JohnPJenkins/rocksdb,wenduo/rocksdb,amyvmiwei/rocksdb,caijieming-baidu/rocksdb,jalexanderqed/rocksdb,alihalabyah/rocksdb,SunguckLee/RocksDB,Andymic/rocksdb,geraldoandradee/rocksdb,tschottdorf/rocksdb,wat-ze-hex/rocksdb,vashstorm/rocksdb,biddyweb/rocksdb,NickCis/rocksdb,IMCG/RcoksDB,temicai/rocksdb,NickCis/rocksdb,norton/rocksdb,wskplho/rocksdb,luckywhu/rocksdb,caijieming-baidu/rocksdb,NickCis/rocksdb,jalexanderqed/rocksdb