> From [EMAIL PROTECTED] Mon Jun 26 02:10:57 2000
> Date: Mon, 26 Jun 2000 10:03:33 +0200
> From: Dominik Kubla <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: LPRng 3.6.19
>
> On Sun, Jun 25, 2000 at 02:46:44PM -0700, [EMAIL PROTECTED] wrote:
> ...
> > Release LPRng 3.6.19 - Sun Jun 25 11:13:35 PDT 2000
> ...
> >   The Tru64 compiler objects to casting pointers to ints, so
> >    we have to cast to a long THEN to an int.
> >    (Reported by: Justus J. Addiss <[EMAIL PROTECTED]>)
>
> That doesn't sound like a good idea to me since sizeof(long) > sizeof(int)
> on 64bit systems.  Are you sure that this is what you intended?  I have
> stumbled over a lot of those casts from ptr to int back when the linux/alpha
> port started.
>
> Dominik Kubla
> -- 
>   Networking Group,  Hospital of Johannes Gutenberg-University
>   Obere Zahlbacher Stra�e 69, 55101 Mainz, Germany
>   Tel: +49 (0)6131 17-7193   FAX: +49 (0)6131 17-477193

It is NOT a good idea.  It is a LOUSY idea.  A HORRIBLE idea.
A NASTY idea.  And it is used in only a very few places with
carefully contrived things like 'Cast_ptr_to_int()' and
'Cast_ptr_to_long()' so that I can find them and know where they
are and put the garlic and silver cross beside them.

Patrick ("No holy water - shorts out the motherboard") Powell

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to