title: Convert from void * to int
body: <p>I'm working on a school project and I'm having trouble converting from 'void *' to 'int'. How can I do that?</p>
  
  <p>example:</p>
  
  <pre><code>void *search(void *id) {
     int i;
  }
  </code></pre>
  
  <p>How do I store the integer in id in i?</p>