Skip to content

Commit

Permalink
RML_IMMEDIATE(RML_TAGFIXNUM(integer)) is used to transform an integer
Browse files Browse the repository at this point in the history
to a pointer. Here we actually want the inverse of that, we want to 
transform a pointer into an integer. Removed RML_IMMEDIATE(...).
  

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3058 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 16, 2008
1 parent fdae7de commit eaefd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/settingsimpl.c
Expand Up @@ -284,7 +284,7 @@ RML_END_LABEL

RML_BEGIN_LABEL(Settings__setEcho)
{
echo = (int)RML_IMMEDIATE(RML_UNTAGFIXNUM(rmlA0));
echo = (int)RML_UNTAGFIXNUM(rmlA0);
RML_TAILCALLK(rmlSC);
}
RML_END_LABEL
Expand Down

0 comments on commit eaefd6e

Please sign in to comment.