comparison Meerwald/gen_kim_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
138 else 138 else
139 fscanf(sig, "%*d\n"); 139 fscanf(sig, "%*d\n");
140 if (a == 0.0) 140 if (a == 0.0)
141 fscanf(sig, "%lf\n", &a); 141 fscanf(sig, "%lf\n", &a);
142 else 142 else
143 fscanf(sig, "%*lf\n"); 143 fscanf(sig, "%*f\n");
144 if (A == 0.0) 144 if (A == 0.0)
145 fscanf(sig, "%lf\n", &A); 145 fscanf(sig, "%lf\n", &A);
146 else 146 else
147 fscanf(sig, "%*lf\n"); 147 fscanf(sig, "%*f\n");
148 if (l == 0) 148 if (l == 0)
149 fscanf(sig, "%d\n", &l); 149 fscanf(sig, "%d\n", &l);
150 else 150 else
151 fscanf(sig, "%*d\n"); 151 fscanf(sig, "%*d\n");
152 if (e < 0) 152 if (e < 0)

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