comparison Meerwald/gen_dugad_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 ad1d224896c5
children
comparison
equal deleted inserted replaced
15:ad1d224896c5 16:4987db85cfae
152 else 152 else
153 fscanf(sig, "%*d\n"); 153 fscanf(sig, "%*d\n");
154 if (a == 0.0) 154 if (a == 0.0)
155 fscanf(sig, "%lf\n", &a); 155 fscanf(sig, "%lf\n", &a);
156 else 156 else
157 fscanf(sig, "%*lf\n"); 157 fscanf(sig, "%*f\n");
158 if (t1 == 0.0) 158 if (t1 == 0.0)
159 fscanf(sig, "%lf\n", &t1); 159 fscanf(sig, "%lf\n", &t1);
160 else 160 else
161 fscanf(sig, "%*lf\n"); 161 fscanf(sig, "%*f\n");
162 if (t2 == 0.0) 162 if (t2 == 0.0)
163 fscanf(sig, "%lf\n", &t2); 163 fscanf(sig, "%lf\n", &t2);
164 else 164 else
165 fscanf(sig, "%*lf\n"); 165 fscanf(sig, "%*f\n");
166 if (e < 0) 166 if (e < 0)
167 fscanf(sig, "%d\n", &e); 167 fscanf(sig, "%d\n", &e);
168 else 168 else
169 fscanf(sig, "%*d\n"); 169 fscanf(sig, "%*d\n");
170 if (f == 0) 170 if (f == 0)

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