Casting const char* to char* crashes
<p>When Im trying to cast const char* to char* it crashes.</p>

<pre><code>int myfunc(const char*);
const char * str = "test";
myfunc( (char*)str ) // crash
</code></pre>

<p>How can I do that? I need it. Thanks in advance.</p>
