Xref: utzoo comp.lang.c:22166 comp.unix.ultrix:1765 Newsgroups: comp.lang.c,comp.unix.ultrix Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Type of expression sizeof(x) Message-ID: <1989Sep22.195357.10194@utzoo.uucp> Organization: U of Toronto Zoology References: <256@servio.UUCP> <145@bbxsda.UUCP> Date: Fri, 22 Sep 89 19:53:57 GMT In article <145@bbxsda.UUCP> scott@bbxsda.UUCP (Scott Amspoker) writes: >Somewhere along the way sizeof() became unsigned... >I hope the ANSI draft doesn't leave this as "implementation dependent". >Some idiot implementor somewhere will make sizeof() return float. The Holy Writ (Oct 88 draft) says that the type of sizeof is an unsigned integral type. -- "Where is D.D. Harriman now, | Henry Spencer at U of Toronto Zoology when we really *need* him?" | uunet!attcan!utzoo!henry henry@zoo.toronto.edu