Commit e9dc0d86 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11697 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 736fd10d
......@@ -53,8 +53,8 @@ void av_update_lls(LLSModel *m, double *var, double decay){
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment