Mercurial > hg > wm
comparison Meerwald/wm_corvi_s.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 |
---|---|
157 if (strspn(line, "CVSG") >= 4) { | 157 if (strspn(line, "CVSG") >= 4) { |
158 fscanf(sig, "%d\n", &n); | 158 fscanf(sig, "%d\n", &n); |
159 if (alpha == 0.0) | 159 if (alpha == 0.0) |
160 fscanf(sig, "%lf\n", &alpha); | 160 fscanf(sig, "%lf\n", &alpha); |
161 else | 161 else |
162 fscanf(sig, "%*lf\n"); | 162 fscanf(sig, "%*f\n"); |
163 if (quantization == 0) | 163 if (quantization == 0) |
164 fscanf(sig, "%d\n", &quantization); | 164 fscanf(sig, "%d\n", &quantization); |
165 else | 165 else |
166 fscanf(sig, "%*d\n"); | 166 fscanf(sig, "%*d\n"); |
167 if (method < 0) | 167 if (method < 0) |