From 0d931ff582275ead947e1beb70c0199d5e38389a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Mon, 29 Feb 2016 14:20:48 +0100 Subject: [PATCH] fix warning about pointer passed instead of value --- ext/gsl_native/tamu_anova.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gsl_native/tamu_anova.c b/ext/gsl_native/tamu_anova.c index 123ef20d..5f9c9f88 100644 --- a/ext/gsl_native/tamu_anova.c +++ b/ext/gsl_native/tamu_anova.c @@ -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; }