Mercurial > hg > wm
comparison Meerwald/wm_dugad_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 |
---|---|
161 else | 161 else |
162 fscanf(sig, "%*d\n"); | 162 fscanf(sig, "%*d\n"); |
163 if (alpha == 0.0) | 163 if (alpha == 0.0) |
164 fscanf(sig, "%lf\n", &alpha); | 164 fscanf(sig, "%lf\n", &alpha); |
165 else | 165 else |
166 fscanf(sig, "%*lf\n"); | 166 fscanf(sig, "%*f\n"); |
167 if (t1 == 0.0) | 167 if (t1 == 0.0) |
168 fscanf(sig, "%lf\n", &t1); | 168 fscanf(sig, "%lf\n", &t1); |
169 else | 169 else |
170 fscanf(sig, "%*lf\n"); | 170 fscanf(sig, "%*f\n"); |
171 fscanf(sig, "%*lf\n"); | 171 fscanf(sig, "%*f\n"); |
172 if (method < 0) | 172 if (method < 0) |
173 fscanf(sig, "%d\n", &method); | 173 fscanf(sig, "%d\n", &method); |
174 else | 174 else |
175 fscanf(sig, "%*d\n"); | 175 fscanf(sig, "%*d\n"); |
176 if (filter == 0) | 176 if (filter == 0) |