invalid conversion from time_t to const time_t*
<pre><code>time_t raw_time = time(NULL);
tm* current_time = localtime(&amp;raw_time);
</code></pre>

<p>I got the answer myself... I totally messed up the warnings. Thanks anyway.</p>
