Mercurial > hg > wm
comparison Meerwald/wm_kim_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 |
---|---|
196 if (strspn(line, "KISG") >= 4) { | 196 if (strspn(line, "KISG") >= 4) { |
197 fscanf(sig, "%d\n", &n); | 197 fscanf(sig, "%d\n", &n); |
198 if (alpha_detail == 0.0) | 198 if (alpha_detail == 0.0) |
199 fscanf(sig, "%lf\n", &alpha_detail); | 199 fscanf(sig, "%lf\n", &alpha_detail); |
200 else | 200 else |
201 fscanf(sig, "%*lf\n"); | 201 fscanf(sig, "%*f\n"); |
202 if (alpha_approx == 0.0) | 202 if (alpha_approx == 0.0) |
203 fscanf(sig, "%lf\n", &alpha_approx); | 203 fscanf(sig, "%lf\n", &alpha_approx); |
204 else | 204 else |
205 fscanf(sig, "%*lf\n"); | 205 fscanf(sig, "%*f\n"); |
206 if (level == 0) | 206 if (level == 0) |
207 fscanf(sig, "%d\n", &level); | 207 fscanf(sig, "%d\n", &level); |
208 else | 208 else |
209 fscanf(sig, "%*d\n"); | 209 fscanf(sig, "%*d\n"); |
210 if (method < 0) | 210 if (method < 0) |