Mercurial > hg > wm
comparison Meerwald/cmp_kund2_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 |
comparison
equal
deleted
inserted
replaced
14:1906e659edd0 | 15:ad1d224896c5 |
---|---|
99 fscanf(sig, "%d\n", &nbit_signature1); | 99 fscanf(sig, "%d\n", &nbit_signature1); |
100 fscanf(sig, "%d\n", &quality); | 100 fscanf(sig, "%d\n", &quality); |
101 fscanf(sig, "%d\n", &blocksize); | 101 fscanf(sig, "%d\n", &blocksize); |
102 fscanf(sig, "%d\n", &method); | 102 fscanf(sig, "%d\n", &method); |
103 fscanf(sig, "%d\n", &filter); | 103 fscanf(sig, "%d\n", &filter); |
104 fscanf(sig, "%[^\n\r]\n", &filter_name); | 104 fscanf(sig, "%[^\n\r]\n", filter_name); |
105 fscanf(sig, "%d\n", &level); | 105 fscanf(sig, "%d\n", &level); |
106 fscanf(sig, "%d\n", &seed); | 106 fscanf(sig, "%d\n", &seed); |
107 srandom(seed); | 107 srandom(seed); |
108 n_signature1 = NBITSTOBYTES(nbit_signature1); | 108 n_signature1 = NBITSTOBYTES(nbit_signature1); |
109 | 109 |