Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!necntc!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: comp.lang.c Subject: Constant overflow Message-ID: <2747@mmintl.UUCP> Date: 3 Mar 88 21:27:37 GMT Reply-To: franka@mmintl.UUCP (Frank Adams) Organization: Ashton-Tate East Hartford Development Center, E. Hartford, CT. Lines: 13 [Not food] Try this one on your favorite C compiler. So far, every one I've tried (including lint) has had no complaint: long i = 9876543210L; (The problem, of course, is that that number doesn't fit in 32 bits. If your compiler has a word size of more than 32 bits, try something big enough to overflow whatever it uses.) -- Frank Adams ihnp4!philabs!pwa-b!mmintl!franka Ashton-Tate 52 Oakland Ave North E. Hartford, CT 06108