gmp-6.0.0: a minor patch
Torbjörn Granlund
tg at gmplib.org
Fri Sep 26 10:43:08 UTC 2014
Peter Breitenlohner <peb at mppmu.mpg.de> writes:
I'd like to suggest the patch below in order to avoid a complier warning
(incompatible pointer type).
diff -ur gmp-6.0.0.orig/mpn/generic/sec_tabselect.c gmp-6.0.0/mpn/generic/sec_tabselect.c
--- gmp-6.0.0.orig/mpn/generic/sec_tabselect.c 2014-03-25 15:37:55.000000000 +0100
+++ gmp-6.0.0/mpn/generic/sec_tabselect.c 2014-05-26 17:17:59.000000000 +0200
@@ -41,7 +41,7 @@
{
mp_size_t k, i;
mp_limb_t mask;
- volatile mp_limb_t *tp;
+ volatile const mp_limb_t *tp;
for (k = 0; k < nents; k++)
{
Thanks. Somebody will apply your patch.
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-bugs
mailing list