Fixing comile errors on OS X
Fixing comile errors on OS X

Summary: Building master on OS X has some compile errors due to implicit type conversions which generate warnings which RocksDB's build settings raise as errors.

Test Plan: It compiles!

Reviewers: ljin, igor

Reviewed By: ljin

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

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