Skip to content

Commit 0d931ff

Browse files
committed
fix warning about pointer passed instead of value
1 parent 00cbe74 commit 0d931ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gsl_native/tamu_anova.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ VALUE rb_tamu_anova_alloc(int argc, VALUE *argv, VALUE klass)
3232
VALUE rb_tamu_anova_printtable(VALUE *vTable)
3333
{
3434
struct tamu_anova_table *table;
35-
Data_Get_Struct(vTable, struct tamu_anova_table, table);
35+
Data_Get_Struct(*vTable, struct tamu_anova_table, table);
3636
tamu_anova_printtable(*table);
3737
return Qtrue;
3838
}

0 commit comments

Comments
 (0)