This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Another glibc fixincl-hack
- From: Zack Weinberg <zackw at panix dot com>
- To: gcc-patches at gcc dot gnu dot org, bkorb at gnu dot org
- Date: Sat, 2 Dec 2006 15:32:51 -0500
- Subject: Re: Another glibc fixincl-hack
> s/ calloc (1, 1)/ calloc ((size_t)1, (size_t)1)/
This really shouldn't be necessary; right above you have an #include of
stdlib.h, which should make a prototype available for calloc, which should
ensure the proper conversions occur with no need for explicit casts. Could
you supply a minimal test case and preprocessed source for it?
zw