How to convert double* to a double?
<p>Any ideas for this typecasting problem?</p>

<p>Here's what I am trying to do. This is not the actual code: </p>

<pre><code>LinkedList* angles;
double dblangle; 
dblangle = (some function for angle calculation returning double value);
(double*)LinkedListCurrent(angles) = &amp;double;
</code></pre>

<p>I hope you get the idea. The last line is causing the problem. Initially angles is <code>void*</code> type so I have to first convert it to <code>double*</code>.</p>
