title: _splitpath_s: wrong argument type?
body: <p>Given the following piece of code:</p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  int _tmain(int argc, _TCHAR* argv[])
  {
      char drive[_MAX_DRIVE];
      char dir[_MAX_DIR];
      char fname[_MAX_FNAME];
      char ext[_MAT_EXT];
      _splitpath_s( argv[0], drive, dir, fname, ext);
      // ...some more code...
  }
  </code></pre>
  
  <p>The compiler throws the following error: </p>
  
  <blockquote>
    <p>error 2665: '_splitpath_s' none of the 2 overloads could convert all the argument types</p>
  </blockquote>
  
  <p>What is going wrong? I'm using VS 2010 SP1.</p>
  
  <p>Thanks a lot in advance.</p>