Fixed warning in `slave.cpp`.
Fixed warning in `slave.cpp`.

Removed an implicit cast from `size_t` to `double`.

Review: https://reviews.apache.org/r/52209/

kaysoky/mesos,zmalik/mesos,Gilbert88/mesos,dforsyth/mesos,yuquanshan/customizedMesos,zmalik/mesos,verizonlabs/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,andschwa/mesos,andschwa/mesos,gsantovena/mesos,dforsyth/mesos,chhsia0/mesos,craimbert/mesos,dforsyth/mesos,reneploetz/mesos,jpeach/mesos,dforsyth/mesos,jpeach/mesos,verizonlabs/mesos,asamerh4/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,Gilbert88/mesos,reneploetz/mesos,gsantovena/mesos,chhsia0/mesos,chhsia0/mesos,dforsyth/mesos,craimbert/mesos,reneploetz/mesos,chhsia0/mesos,abudnik/mesos,andschwa/mesos,chhsia0/mesos,yuquanshan/customizedMesos,jpeach/mesos,neilconway/mesos,zmalik/mesos,kaysoky/mesos,neilconway/mesos,jpeach/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,craimbert/mesos,abudnik/mesos,yuquanshan/customizedMesos,andschwa/mesos,reneploetz/mesos,verizonlabs/mesos,andschwa/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,neilconway/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,jpeach/mesos,zmalik/mesos,verizonlabs/mesos,zmalik/mesos,jpeach/mesos,abudnik/mesos,andschwa/mesos,neilconway/mesos,asamerh4/mesos,reneploetz/mesos,kaysoky/mesos,andschwa/mesos,reneploetz/mesos,chhsia0/mesos,asamerh4/mesos,neilconway/mesos,Gilbert88/mesos,zmalik/mesos,abudnik/mesos,chhsia0/mesos,kaysoky/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,Gilbert88/mesos,Gilbert88/mesos,gsantovena/mesos,zmalik/mesos,craimbert/mesos,yuquanshan/customizedMesos,abudnik/mesos,neilconway/mesos,asamerh4/mesos,craimbert/mesos,abudnik/mesos,asamerh4/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,reneploetz/mesos,gsantovena/mesos,Gilbert88/mesos,dforsyth/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,gsantovena/mesos,gsantovena/mesos,verizonlabs/mesos,gsantovena/mesos,asamerh4/mesos