Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site kobold.UUCP
Path: utzoo!linus!security!genrad!grkermit!masscomp!kobold!tjt
From: tjt@kobold.UUCP
Newsgroups: net.lang.c
Subject: Re: Casting Pointers
Message-ID: <263@kobold.UUCP>
Date: Tue, 31-Jan-84 10:21:34 EST
Article-I.D.: kobold.263
Posted: Tue Jan 31 10:21:34 1984
Date-Received: Thu, 2-Feb-84 01:07:09 EST
References: <354@houxt.UUCP> <335@bnl.UUCP>
Organization: Masscomp, Westford, MA
Lines: 12

Michael Bloom (..!bnl!mab) recommends avoiding casts since:

    I've noticed (while using adb) that using casts generates calls
    to routines that will perform type conversion, rather than the
    inline code you might expect.

On most 68000 systems (e.g. using the MIT port of PCC), a function call
is used for float-to-integer and integer-to-float type casts, but not
on integer-to-integer or integer-to-pointer casts.
-- 
	Tom Teixeira,  Massachusetts Computer Corporation.  Westford MA
	...!{ihnp4,harpo,decvax}!masscomp!tjt   (617) 692-6200 x275