void -> char cast

Conor Williams conor.williams at gmail.com
Thu Jan 9 00:37:25 UTC 2014


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);

/thanks


More information about the gmp-bugs mailing list