diff 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
line wrap: on
line diff
--- a/Meerwald/wm_bruyn_e.c	Mon Jun 30 20:59:01 2008 +0200
+++ b/Meerwald/wm_bruyn_e.c	Mon Jun 30 21:03:40 2008 +0200
@@ -181,15 +181,15 @@
       if (quality == 0.0)
         fscanf(sig, "%lf\n", &quality);
       else
-        fscanf(sig, "%*lf\n");
+        fscanf(sig, "%*f\n");
       if (threshold_noise == 0.0)
         fscanf(sig, "%lf\n", &threshold_noise);
       else
-        fscanf(sig, "%*lf\n");
+        fscanf(sig, "%*f\n");
       if (threshold_slope == 0.0)
         fscanf(sig, "%lf\n", &threshold_slope);
       else
-        fscanf(sig, "%*lf\n");
+        fscanf(sig, "%*f\n");
       if (blocksize == 0)
         fscanf(sig, "%d\n", &blocksize);
       else

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