Mercurial > hg > wm
comparison Meerwald/cmp_kund2_sig.c @ 23:71dd4b96221b
fix some compiler warning
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|---|
date | Fri, 20 Dec 2024 12:53:41 +0100 |
parents | ad1d224896c5 |
children |
comparison
equal
deleted
inserted
replaced
22:d8551fb39a5e | 23:71dd4b96221b |
---|---|
183 s += alpha[j] * bit; | 183 s += alpha[j] * bit; |
184 } | 184 } |
185 // fprintf(stderr, "YYY %d %f\n", i, s); | 185 // fprintf(stderr, "YYY %d %f\n", i, s); |
186 set_signature_bit(i, s > 0 ? 1 : 0); | 186 set_signature_bit(i, s > 0 ? 1 : 0); |
187 } | 187 } |
188 | |
189 free(binstr); | |
190 } | 188 } |
191 else { | 189 else { |
192 fprintf(stderr, "%s: invalid watermark file %s\n", progname, input_name); | 190 fprintf(stderr, "%s: invalid watermark file %s\n", progname, input_name); |
193 exit(1); | 191 exit(1); |
194 } | 192 } |