(wrong string) ée

From: <git_AT_suckless.org>
Date: Wed, 27 Apr 2016 01:13:25 +0200 (CEST)

commit f269b61a28587922faef40a08a355d4ef5cc6c38
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed Apr 27 01:13:12 2016 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed Apr 27 01:13:12 2016 +0200

    Fix benchmark error
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/bench/libgmp.h b/bench/libgmp.h
index 42b2d1e..b16edec 100644
--- a/bench/libgmp.h
+++ b/bench/libgmp.h
_AT_@ -91,7 +91,7 @@ zunsetup(void)
 #define zmodpowu mpz_powm_ui
 #define zsets(a, s) mpz_set_str(a, s, 10)
 #define zstr_length(a, b) (mpz_sizeinbase(a, 10) + (zsignum(a) < 0))
-#define zstr(a, s, n) ((void)n, mpz_get_str(s, 10, a))
+#define zstr(a, s, n) (mpz_get_str(s, 10, a))
 #define zptest(w, a, t) mpz_probab_prime_p(a, t) /* Note, the witness is not returned. */
 #define zdiv mpz_tdiv_q
 #define zmod mpz_tdiv_r
diff --git a/bench/libtfm.h b/bench/libtfm.h
index 1d8ade3..0feff35 100644
--- a/bench/libtfm.h
+++ b/bench/libtfm.h
_AT_@ -83,7 +83,7 @@ zunsetup(void)
 #define zmodpowu(r, a, b, m) (fp_set_int(_b, b), fp_exptmod(a, _b, m, r))
 #define zsets(a, s) fp_read_radix(a, s, 10)
 #define zstr_length(a, b) (fp_radix_size(a, b, &_tmp), _tmp)
-#define zstr(a, s, n) ((void)n, fp_toradix(a, s, 10))
+#define zstr(a, s, n) (fp_toradix(a, s, 10))
 #define zptest(w, a, t) fp_isprime_ex(a, t) /* Note, the witness is not returned. */
 #define zload(a, s) fp_read_signed_bin(a, (unsigned char *)s, _tmp)
 #define zdiv(r, a, b) fp_div(a, b, r, 0)
diff --git a/bench/libtommath.h b/bench/libtommath.h
index ac7c95d..ddc34ac 100644
--- a/bench/libtommath.h
+++ b/bench/libtommath.h
_AT_@ -83,7 +83,7 @@ zunsetup(void)
 #define zmodpowu(r, a, b, m) (mp_set_int(_b, b), mp_exptmod(a, _b, m, r))
 #define zsets(a, s) mp_read_radix(a, s, 10)
 #define zstr_length(a, b) (mp_radix_size(a, b, &_tmp), _tmp)
-#define zstr(a, s, n) ((void)n, mp_toradix(a, s, 10))
+#define zstr(a, s, n) (mp_toradix(a, s, 10))
 #define zptest(w, a, t) (mp_prime_is_prime(a, t, &_tmp), _tmp) /* Note, the witness is not returned. */
 #define zload(a, s) mp_read_signed_bin(a, (unsigned char *)s, _tmp)
 #define zdiv(r, a, b) mp_div(a, b, r, 0)
Received on Wed Apr 27 2016 - 01:13:25 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 27 2016 - 01:24:15 CEST