title: Invalid converstion from void* to char**
body: <p>It has been a while since I messed with C code. </p>
  
  <p>I am getting the following error when compiling C code under Ubuntu using gcc.  </p>
  
  <p>The command I am using to compile code is (if these errors are because of compiler I am using, please let me know how to make that go away):</p>
  
  <pre><code>gcc -o runnable mycode.C 
  </code></pre>
  
  <blockquote>
    <p>error: invalid conversion from ‘void*’ to ‘char**’</p>
  </blockquote>
  
  <p>Line 39 is :  </p>
  
  <pre><code>sequence=malloc(sizeof(char *)*seqNum);
  </code></pre>
  
  <p>sequence is declared as: </p>
  
  <pre><code>char **sequence;
  </code></pre>
  
  <p>seqNum is declared as: </p>
  
  <pre><code>int seqNum
  </code></pre>