<div dir="ltr">The following patch fixes some missing difference_type <div>in the implementation of std::advance. The problem is that </div><div>depending on the type of </div><div><br></div><div>iterator_traits<Iterator>::difference_type </div>

<div><br></div><div>otherwise valid code fails to compile (this was the case for</div><div>my code), and warnings might show up.</div><div><br></div><div>Bests, </div><div>Gonzalo BG</div><div><br></div><div>P.S.: <a href="http://libcxx.llvm.org">libcxx.llvm.org</a> should have a small section explaining </div>

<div>the best way to contribute patches. I hope I posted the patch</div><div>in the correct mailing list.</div></div>