comparison Meerwald/gen_bruyn_sig.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 f83ef905a63d
children
comparison
equal deleted inserted replaced
15:ad1d224896c5 16:4987db85cfae
167 else 167 else
168 fscanf(sig, "%*d\n"); 168 fscanf(sig, "%*d\n");
169 if (q == 0.0) 169 if (q == 0.0)
170 fscanf(sig, "%lf\n", &q); 170 fscanf(sig, "%lf\n", &q);
171 else 171 else
172 fscanf(sig, "%*lf\n"); 172 fscanf(sig, "%*f\n");
173 if (t1 == 0.0) 173 if (t1 == 0.0)
174 fscanf(sig, "%lf\n", &t1); 174 fscanf(sig, "%lf\n", &t1);
175 else 175 else
176 fscanf(sig, "%*lf\n"); 176 fscanf(sig, "%*f\n");
177 if (t2 == 0.0) 177 if (t2 == 0.0)
178 fscanf(sig, "%lf\n", &t2); 178 fscanf(sig, "%lf\n", &t2);
179 else 179 else
180 fscanf(sig, "%*lf\n"); 180 fscanf(sig, "%*f\n");
181 if (b == 0) 181 if (b == 0)
182 fscanf(sig, "%d\n", &b); 182 fscanf(sig, "%d\n", &b);
183 else 183 else
184 fscanf(sig, "%*d\n"); 184 fscanf(sig, "%*d\n");
185 } 185 }

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.