comparison Meerwald/gen_koch_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
112 else 112 else
113 fscanf(sig, "%*d\n"); 113 fscanf(sig, "%*d\n");
114 if (l == 0.0) 114 if (l == 0.0)
115 fscanf(sig, "%lf\n", &l); 115 fscanf(sig, "%lf\n", &l);
116 else 116 else
117 fscanf(sig, "%*lf\n"); 117 fscanf(sig, "%*f\n");
118 if (q == 0) 118 if (q == 0)
119 fscanf(sig, "%d\n", &q); 119 fscanf(sig, "%d\n", &q);
120 else 120 else
121 fscanf(sig, "%*d\n"); 121 fscanf(sig, "%*d\n");
122 } 122 }

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