X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FPadded.h;h=93b37ab4e4abfee37e47d73259150a220053db58;hp=0a772a2d56fceb458d4e9a95b4775960d799bfdc;hb=46b709bc7780303b5fefd4bbbaf67b9f268d4865;hpb=ed8c80a0e0988e4ce687f51ca832a00e4a6b7930 diff --git a/folly/Padded.h b/folly/Padded.h index 0a772a2d..93b37ab4 100644 --- a/folly/Padded.h +++ b/folly/Padded.h @@ -385,7 +385,7 @@ class Adaptor { iterator end() { auto it = iterator(c_.end()); if (lastCount_ != Node::kElementCount) { - it -= (Node::kElementCount - lastCount_); + it -= difference_type(Node::kElementCount - lastCount_); } return it; }