diff Meerwald/cmp_kund3_sig.c @ 15:ad1d224896c5

fix scanf() warning
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Mon, 30 Jun 2008 20:59:01 +0200
parents f83ef905a63d
children
line wrap: on
line diff
--- a/Meerwald/cmp_kund3_sig.c	Mon Jun 30 15:46:32 2008 +0200
+++ b/Meerwald/cmp_kund3_sig.c	Mon Jun 30 20:59:01 2008 +0200
@@ -99,7 +99,7 @@
       fscanf(sig, "%d\n", &quality);
       fscanf(sig, "%d\n", &method);
       fscanf(sig, "%d\n", &filter);
-      fscanf(sig, "%[^\n\r]\n", &filter_name);
+      fscanf(sig, "%[^\n\r]\n", filter_name);
       fscanf(sig, "%d\n", &level);
       fscanf(sig, "%d\n", &seed);
       srandom(seed);

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