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