title: warning: passing argument 1 of makes integer from pointer without a cast [enabled by default]
body: <p>I have this function:</p>
  
  <pre><code>VOID myFunc(INT start, INT end)
  {
    //statements
  }
  </code></pre>
  
  <p>I'm calling this like:</p>
  
  <pre><code>myFunc (Arr[new_1].Msg,Arr[new_2].Msg);
  </code></pre>
  
  <p>Which produces the error:
  <strong>warning: passing argument 1 of  makes integer from pointer without a cast [enabled by default]</strong></p>
  
  <p>Arr is a struct array and is defined globally as:</p>
  
  <pre><code>MY_STRUCT Arr[100];
  </code></pre>
  
  <p>MY_STRUCT is defined as:</p>
  
  <pre><code>typedef struct MY_STRUCT {
      INT Num;
      MsgType *Msg;
  } MY_STRUCT;
  </code></pre>
  
  <p>Anyone could help me resolve this warning?</p>