title: pass a void pointer to a function with const char * const
body: <p>ok I have a variable</p>
  
  <p><code>void * vp</code></p>
  
  <p>passed through a function 
  <code>proccessData (void * vp)</code></p>
  
  <p>I have a function that accept the following as a parameter</p>
  
  <p><code>findIDType(const char* const pointer)</code> and wanted to pass the pv as <code>findIDType(pv)</code></p>
  
  <p>compiled with GNU 2.95.3</p>
  
  <p>cannot use any other compiler btw.</p>
  
  <p>the issue is that the compiler doesnt give me why it is not acceptable,
  it just print out a message <code>cannot</code> without any useful description.</p>
  
  <p>how to cast that? from <code>void*</code> to <code>const char* const</code></p>
  
  <p>I have tried <code>(char*)pv</code>, <code>(const char*)pv</code> and <code>(const char* const)pv</code> without any luck</p>