Skip to content

Commit

Permalink
fix warning about pointer passed instead of value
Browse files Browse the repository at this point in the history
  • Loading branch information
boutil committed Mar 6, 2016
1 parent aa53b55 commit 8ee52b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/gsl_native/tamu_anova.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ VALUE rb_tamu_anova_alloc(int argc, VALUE *argv, VALUE klass)
VALUE rb_tamu_anova_printtable(VALUE *vTable)
{
struct tamu_anova_table *table;
Data_Get_Struct(vTable, struct tamu_anova_table, table);
Data_Get_Struct(*vTable, struct tamu_anova_table, table);
tamu_anova_printtable(*table);
return Qtrue;
}
Expand Down

0 comments on commit 8ee52b3

Please sign in to comment.