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

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