comparison Meerwald/wm_bruyn_e.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 bd669312f068
comparison
equal deleted inserted replaced
15:ad1d224896c5 16:4987db85cfae
179 else 179 else
180 fscanf(sig, "%*d\n"); 180 fscanf(sig, "%*d\n");
181 if (quality == 0.0) 181 if (quality == 0.0)
182 fscanf(sig, "%lf\n", &quality); 182 fscanf(sig, "%lf\n", &quality);
183 else 183 else
184 fscanf(sig, "%*lf\n"); 184 fscanf(sig, "%*f\n");
185 if (threshold_noise == 0.0) 185 if (threshold_noise == 0.0)
186 fscanf(sig, "%lf\n", &threshold_noise); 186 fscanf(sig, "%lf\n", &threshold_noise);
187 else 187 else
188 fscanf(sig, "%*lf\n"); 188 fscanf(sig, "%*f\n");
189 if (threshold_slope == 0.0) 189 if (threshold_slope == 0.0)
190 fscanf(sig, "%lf\n", &threshold_slope); 190 fscanf(sig, "%lf\n", &threshold_slope);
191 else 191 else
192 fscanf(sig, "%*lf\n"); 192 fscanf(sig, "%*f\n");
193 if (blocksize == 0) 193 if (blocksize == 0)
194 fscanf(sig, "%d\n", &blocksize); 194 fscanf(sig, "%d\n", &blocksize);
195 else 195 else
196 fscanf(sig, "%*d\n"); 196 fscanf(sig, "%*d\n");
197 fscanf(sig, "%d\n", &seed); 197 fscanf(sig, "%d\n", &seed);

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