changeset 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 63e1f9c749dd
children 12f0072323ce
files lls.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;