This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove some warnings
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Remove some warnings
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Fri, 12 Jan 2001 18:14:57 +0000 (GMT)
- Cc: <gcc-patches at gcc dot gnu dot org>
On 12 Jan 2001, Andreas Jaeger wrote:
> > Isn't it possible for sizeof to return a signed type on some hosts? Maybe
> > this is better fixed with casts in the for statements?
>
> It is possible - but ISO C99 demands size_t as result.
Maybe i should be declared as size_t then. (I know this sort of thing was
discussed once, I just have forgotten what the conclusion was :-)
Bernd