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

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