[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent checkins
From: |
Simon Law |
Subject: |
Re: Recent checkins |
Date: |
Wed, 8 May 2002 10:09:35 -0400 (EDT) |
On Wed, 8 May 2002, James Morrison wrote:
> 2) cthreads.c: RESULT is cast to (int)(long), aren't int supposed to be the
> same size as longs? If so, why would RESULT need to be cast twice?
Actually, int is not the same as long int. According to the
ANSI spec, int should be at least 16 bits wide. The way the modifiers
to int work is:
short int <= int <= long int
Simon
- Recent checkins, James Morrison, 2002/05/08
- Re: Recent checkins,
Simon Law <=
- Re: Recent checkins, Thomas Bushnell, BSG, 2002/05/08
- Re: Recent checkins, Jeff Bailey, 2002/05/08
- Re: Recent checkins, Joachim Nilsson, 2002/05/08
- Re: Recent checkins, Thomas Bushnell, BSG, 2002/05/08
- Re: Recent checkins, Jeff Bailey, 2002/05/08
- Re: Recent checkins, Thomas Bushnell, BSG, 2002/05/08
- Re: Recent checkins, Roland McGrath, 2002/05/08
- Re: Recent checkins, Thomas Bushnell, BSG, 2002/05/08
- Re: Recent checkins, Roland McGrath, 2002/05/08
- Re: Recent checkins, Thomas Bushnell, BSG, 2002/05/08