title: Identical code generates error in one project, but not another
body: <p>I am trying to reuse code from another project, but while copying the classes over, it generated a compiler error in the new project, but while it was in the other project, it worked just fine.</p>
  
  <p>The error is </p>
  
  <pre><code>    Cannot initialize a parameter of type 'const uint8_t *' (aka 'const unsigned char *') with an rvalue of type 'const void *'
  </code></pre>
  
  <p>and the code is </p>
  
  <pre><code>    [outputStream write:[userdata bytes] maxLength:[userdata length]];
  </code></pre>
  
  <p>outputStream is an NSOutputStream, and userdata is an NSData object.
  The same code surrounding this statement is used in both projects.</p>
  
  <p>Both projects are compiling for the same target OS( iOS 5.0) and archetecture(armv7), and both have identical frameworks added.</p>
  
  <p>I also tried to clean the project, and build it again. Same problem.</p>
  
  <p>Any help would be appreciated.</p>