diff lls.c @ 441:6335e6e63d91 libavutil

Fix the following using void* casts, proper casts are less readable and avoiding casts would be even less readable, but other suggestions are welcome. lls.c:56: warning: initialization from incompatible pointer type lls.c:57: warning: initialization from incompatible pointer type
author michael
date Thu, 31 Jan 2008 20:52:14 +0000
parents 1cdbf12cb116
children 8e14aa88d6cb
line wrap: on
line diff
--- a/lls.c	Wed Jan 30 04:50:09 2008 +0000
+++ b/lls.c	Thu Jan 31 20:52:14 2008 +0000
@@ -53,8 +53,8 @@
 
 void av_solve_lls(LLSModel *m, double threshold, int min_order){
     int i,j,k;
-    double (*factor)[MAX_VARS+1]= &m->covariance[1][0];
-    double (*covar )[MAX_VARS+1]= &m->covariance[1][1];
+    double (*factor)[MAX_VARS+1]= (void*)&m->covariance[1][0];
+    double (*covar )[MAX_VARS+1]= (void*)&m->covariance[1][1];
     double  *covar_y            =  m->covariance[0];
     int count= m->indep_count;