1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: fix compiler warning about pointer passed instead of its value
Author: Cédric Boutillier <boutil@debian.org>
Origin: vendor
Bug-Debian: https://bugs.debian.org/804499
Bug: https://github.com/SciRuby/rb-gsl/issues/24
Forwarded: https://github.com/SciRuby/rb-gsl/pull/31
Last-Update: 2016-02-29
--- a/ext/gsl_native/tamu_anova.c
+++ b/ext/gsl_native/tamu_anova.c
@@ -32,7 +32,7 @@
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;
}
|