Skip to content

Commit

Permalink
fix prototype to avoid a warning from C compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiel authored and OpenModelica-Hudson committed May 12, 2017
1 parent d0c4de0 commit 8ed0af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2837,7 +2837,7 @@ template getIterationVars(list<ComponentRef> crefs, String indexName)
;separator="\n")
<<
void getIterationVars<%indexName%>(void *inData, double *array)
void getIterationVars<%indexName%>(struct DATA *inData, double *array)
{
DATA* data = (DATA*) inData;
<%vars%>
Expand Down

0 comments on commit 8ed0af6

Please sign in to comment.