gpi-hash.c segfaults_(re)

Thu, 31 Jul 1997 16:25:40 +0200


 
Jukka Virtanen wrote:

>        In ANSI C the result of (ptr - ptr) is of type ptrdiff_t,
>        which in the alpha is (signed long).

>        Using cast (unsigned size_t) might not be a good idea, at least
>        I do not know if Ansi C quarantees that size_t always
>        is as large as ptrdiff_t.

While we're at it: would it be possible to have predefined Pascal types
as size_t and ptrdiff_t (and maybe other types?) so that such
calculations can be done in Pascal?


Frank Heckenbach (heckenb@mi.uni-erlangen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es