title: Error 'no match for call to vector<int> normal_iterator<int*, vector<int> >::difference_type)'
body: <p>I'm trying to use this vector.h function:</p>
  
  <pre><code> random_shuffle(s.begin()+from+i,s.begin()+to,s);
  </code></pre>
  
  <p>This error happens:</p>
  
  <pre><code>c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_algo.h|5255|error: no match for call to '(std::vector&lt;int&gt;) (__gnu_cxx::__normal_iterator&lt;int*, std::vector&lt;int&gt; &gt;::difference_type)'|
  </code></pre>
  
  <p>Any idea? Thank in advance!</p>