Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!dayton!umn-cs!papowell From: papowell@umn-cs.UUCP (Patrick Powell) Newsgroups: comp.arch,comp.sys.intel,comp.sys.m68k Subject: Re: byte order: be reasonable - do it my way... Message-ID: <1328@umn-cs.UUCP> Date: Sat, 17-Jan-87 21:11:50 EST Article-I.D.: umn-cs.1328 Posted: Sat Jan 17 21:11:50 1987 Date-Received: Mon, 19-Jan-87 03:43:43 EST References: <760@orcisi.UUCP> <1011@cuuxb.UUCP> <753@vaxb.calgary.UUCP> Reply-To: papowell@umn-cs.UUCP (Patrick Powell) Organization: University of Minnesota Lines: 24 Xref: mnetor comp.arch:199 comp.sys.intel:108 comp.sys.m68k:117 In order to spare the innocent, I will briefly note: mumble proc(x) char *x; { .... } int i; char c; (void) proc(&c); <--O.K. (void) proc(&i); <--SSSSSSSSSS BOOOOOO Since when do you assume that a pointer to int has the same FORM as a pointer to char? Sigh... I think that the originator of the idea has to work on a word based machine for his sins. Patrick ("Two days programming in FORTRAN IV on a IBM 7090 or 50 lashes" "I'll take the lashes!!!") Powell -- Patrick Powell, Dept. Computer Science, 136 Lind Hall, 207 Church St. SE, University of Minnesota, Minneapolis, MN 55455 (612)625-3543/625-4002