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