Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Apr 4, 2016
1 parent 536387b commit 68465ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/memory_pool.c
Expand Up @@ -166,7 +166,7 @@ static void* OMC_record_malloc_atomic(size_t sz)
static void* OMC_record_strdup(const char *str)
{
mmc_record_alloc_words(strlen(str)+1);
return GC_strdup(sz);
return GC_strdup(str);
}

#endif
Expand Down

0 comments on commit 68465ab

Please sign in to comment.