title: How to fix: cannot convert 'uint8_t (*)[50] {aka unsigned char (*)[50]}' to 'uint8_t* {aka unsigned char*}'
body: <p>Im programming ATMEGA328p for a specific problema. Im using libraries in C and C++. </p>
  
  <p>When I compile the code the present erro apears: <p>
  <b>error: cannot convert 'uint8_t (<em>)[50] {aka unsigned char (</em>)[50]}' to 'uint8_t* {aka unsigned char*}' for argument '2' to 'void SendXbee(char, uint8_t*)</b></p>
  
  <p>My call to function is:</p>
  
  <pre><code>uint8_t tempBuffer[50]
  SendXbee(_data, &amp;tempBuffer);
  </code></pre>
  
  <p>In library headfile:</p>
  
  <pre><code>void SendXbee(char Data, uint8_t *Frame);
  </code></pre>
  
  <p>In .c archive the function is:</p>
  
  <pre><code>void SendXbee(char Data, uint8_t* Frame){
  .
  .
  .
  xBeeAPI_To_Buffer_From_Frame(&amp;Frame, &amp;transmitFrame);
  }
  </code></pre>
  
  <p>What im doing wrong?</p>