Skip to content

Commit

Permalink
- ansi-C
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18631 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 13, 2014
1 parent f7b8c01 commit c3b3b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/meta/meta_modelica.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ inline static int anyStringWorkCode(void* any, int ix, int id)
}
if (numslots>0 && ctor > 1) { /* RECORD */
int base_id = globalId;
struct record_description* desc = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(any),1));
globalId += numslots-1;
struct record_description * desc = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(any),1));
for (i=2; i<=numslots; i++) {
data = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(any),i));
ix = anyStringWorkCode(data,ix,base_id+i-1);
Expand Down

0 comments on commit c3b3b09

Please sign in to comment.