void -> char cast
Torbjorn Granlund
tg at gmplib.org
Thu Jan 9 09:44:46 UTC 2014
Conor Williams <conor.williams at gmail.com> writes:
Ubuntu - found when compiling with g++
will51 at skynet:~/LPS!/lpsb/gmp-5.1.3/demos/expr$ diff exprfa.c exprfa.c.orig
122c122
< edup = (char *)(*allocate_func) (i+1);
---
> edup = (*allocate_func) (i+1);
will51 at skynet:~/LPS!/lpsb/gmp-5.1.3/demos/expr$ diff exprza.c.orig exprza.c
51c51
< edup = (*allocate_func) (i+1);
---
> edup = (char *)(*allocate_func) (i+1);
You sent the above to the GMP bug reports mailing list. Are we to
interpret it as a bug report? I just see two patches (one apparently
backwards) with no explaation for what they are supposed to fix.
Torbjörn
More information about the gmp-bugs
mailing list