comparison Meerwald/wm_corvi_d.c @ 16:4987db85cfae

fix another scanf() warning
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Mon, 30 Jun 2008 21:03:40 +0200
parents ad1d224896c5
children
comparison
equal deleted inserted replaced
15:ad1d224896c5 16:4987db85cfae
154 if (strspn(line, "CVSG") >= 4) { 154 if (strspn(line, "CVSG") >= 4) {
155 fscanf(sig, "%d\n", &n); 155 fscanf(sig, "%d\n", &n);
156 if (alpha == 0.0) 156 if (alpha == 0.0)
157 fscanf(sig, "%lf\n", &alpha); 157 fscanf(sig, "%lf\n", &alpha);
158 else 158 else
159 fscanf(sig, "%*lf\n"); 159 fscanf(sig, "%*f\n");
160 if (method < 0) 160 if (method < 0)
161 fscanf(sig, "%d\n", &method); 161 fscanf(sig, "%d\n", &method);
162 else 162 else
163 fscanf(sig, "%*d\n"); 163 fscanf(sig, "%*d\n");
164 if (filter == 0) 164 if (filter == 0)

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.