Mercurial > hg > wm
comparison Meerwald/wm_corvi_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 |
---|---|
128 if (strspn(line, "CVSG") >= 4) { | 128 if (strspn(line, "CVSG") >= 4) { |
129 fscanf(sig, "%d\n", &n); | 129 fscanf(sig, "%d\n", &n); |
130 if (alpha == 0.0) | 130 if (alpha == 0.0) |
131 fscanf(sig, "%lf\n", &alpha); | 131 fscanf(sig, "%lf\n", &alpha); |
132 else | 132 else |
133 fscanf(sig, "%*lf\n"); | 133 fscanf(sig, "%*f\n"); |
134 if (method < 0) | 134 if (method < 0) |
135 fscanf(sig, "%d\n", &method); | 135 fscanf(sig, "%d\n", &method); |
136 else | 136 else |
137 fscanf(sig, "%*d\n"); | 137 fscanf(sig, "%*d\n"); |
138 if (filter == 0) | 138 if (filter == 0) |