comparison Meerwald/wm_xie2_e.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
152 if (strspn(line, "XE2SG") >= 5) { 152 if (strspn(line, "XE2SG") >= 5) {
153 fscanf(sig, "%d\n", &nbit_signature); 153 fscanf(sig, "%d\n", &nbit_signature);
154 if (alpha == 0.0) 154 if (alpha == 0.0)
155 fscanf(sig, "%lf\n", &alpha); 155 fscanf(sig, "%lf\n", &alpha);
156 else 156 else
157 fscanf(sig, "%*lf\n"); 157 fscanf(sig, "%*f\n");
158 if (method < 0) 158 if (method < 0)
159 fscanf(sig, "%d\n", &method); 159 fscanf(sig, "%d\n", &method);
160 else 160 else
161 fscanf(sig, "%*d\n"); 161 fscanf(sig, "%*d\n");
162 if (filter == 0) 162 if (filter == 0)

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