Mail Archives: djgpp/2000/05/22/03:22:38
On Mon, 22 May 2000, Alexei A. Frounze wrote:
> > The relative sizes will probably be described in the C standard - i.e.
> > short is smaller than long, int is the same size as short or bigger, or
> > the same size as long or smaller. This should tell you what typecasts are
> > safe.
>
> Actual question was not about type casting in general. It was about type
> casting for such things as size_t and fpos_t.
The same principles apply to all such types. E.g., if off_t is at least
as large as size_t, you know what to do when you need to mix them.
- Raw text -