This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Remove some warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]