Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!watcgl!watmum!smvorkoetter From: smvorkoetter@watmum.UUCP Newsgroups: comp.lang.c Subject: Re: Long integers Message-ID: <1777@watcgl.waterloo.edu> Date: Wed, 16-Sep-87 08:28:05 EDT Article-I.D.: watcgl.1777 Posted: Wed Sep 16 08:28:05 1987 Date-Received: Fri, 18-Sep-87 05:18:53 EDT References: <9266@brl-adm.ARPA> Sender: daemon@watcgl.waterloo.edu Reply-To: smvorkoetter@watmum.waterloo.edu (Stefan M. Vorkoetter) Organization: U. of Waterloo, Ontario Lines: 10 In article <9266@brl-adm.ARPA> moss@BRL.ARPA (Gary S. Moss (SLCBR-VL-V)) writes: > The format %ld is wrong when using the PRINTF family of functions. >The reason for this is that integer arguments are *always* widened to LONG From where did you get this piece of information? Char is always widened to int, and float to double, but never int to long. Stefan Vorkoetter University of Waterloo Symbolic Computation Group