title: Cast to pointer from integer of different size
body: <pre><code>client_t *client_create_no_window(char *in, char *out); 
  
  // ...
  
  char line[50];
  while((c = getchar()) != EOF &amp;&amp; c != '\n')
  {
      line[pos] = c;
      pos++;
  }
  pos=0;
  </code></pre>
  
  <p>then I try to call the function <code>client_create_no_window</code> by first doing</p>
  
  <pre><code>char* first = (char*) line[1];
  char* second= (char*) line[2];
  client_create_no_window(first, second);
  </code></pre>
  
  <p>I keep getting the error casting to pointer from integer of different size. I've looked at some of the previous posts on these but still cant understand why this is going on</p>