diff Meerwald/cmp_frid2_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
line wrap: on
line diff
--- a/Meerwald/cmp_frid2_sig.c	Mon Jun 30 20:59:01 2008 +0200
+++ b/Meerwald/cmp_frid2_sig.c	Mon Jun 30 21:03:40 2008 +0200
@@ -88,8 +88,8 @@
     fgets(line, sizeof(line), sig);
     if (strspn(line, "FR2SG") >= 5) {
       fscanf(sig, "%d\n", &nbit_signature);
-      fscanf(sig, "%*lf\n");
-      fscanf(sig, "%*lf\n");
+      fscanf(sig, "%*f\n");
+      fscanf(sig, "%*f\n");
       fscanf(sig, "%*d\n");
       n_signature = NBITSTOBYTES(nbit_signature);
       fread(signature, sizeof(char), n_signature, sig);

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