Mercurial > hg > wm
comparison Meerwald/wm_kim_a.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 |
---|---|
179 if (strspn(line, "KISG") >= 4) { | 179 if (strspn(line, "KISG") >= 4) { |
180 fscanf(sig, "%d\n", &n); | 180 fscanf(sig, "%d\n", &n); |
181 if (alpha_detail == 0.0) | 181 if (alpha_detail == 0.0) |
182 fscanf(sig, "%lf\n", &alpha_detail); | 182 fscanf(sig, "%lf\n", &alpha_detail); |
183 else | 183 else |
184 fscanf(sig, "%*lf\n"); | 184 fscanf(sig, "%*f\n"); |
185 if (alpha_approx == 0.0) | 185 if (alpha_approx == 0.0) |
186 fscanf(sig, "%lf\n", &alpha_approx); | 186 fscanf(sig, "%lf\n", &alpha_approx); |
187 else | 187 else |
188 fscanf(sig, "%*lf\n"); | 188 fscanf(sig, "%*f\n"); |
189 if (level == 0) | 189 if (level == 0) |
190 fscanf(sig, "%d\n", &level); | 190 fscanf(sig, "%d\n", &level); |
191 else | 191 else |
192 fscanf(sig, "%*d\n"); | 192 fscanf(sig, "%*d\n"); |
193 if (method < 0) | 193 if (method < 0) |