Skip to content

Commit

Permalink
- Fix compilation of errorext.cpp (rml-trunk mk_scon doesn't accept c…
Browse files Browse the repository at this point in the history
…onst char*)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6185 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 23, 2010
1 parent 793269b commit 4266aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/errorext.cpp
Expand Up @@ -291,7 +291,7 @@ extern "C"
*/
void* getLastDeletedCheckpoint()
{
return mk_scon(lastDeletedCheckpoint.c_str());
return mk_scon((char*) lastDeletedCheckpoint.c_str());
}

void ErrorExt_5finit(void)
Expand Down

0 comments on commit 4266aff

Please sign in to comment.