Path: utzoo!mnetor!uunet!husc6!rutgers!ames!ucbcad!ucbvax!cbosgd!osu-cis!osupyr!gae From: gae@osupyr.UUCP (Gerald Edgar) Newsgroups: comp.lang.c Subject: lint diagnostic Message-ID: <365@osupyr.UUCP> Date: 26 Dec 87 14:33:14 GMT Reply-To: gae@osupyr.UUCP (Gerald Edgar) Organization: The Ohio State University, Dept. of Math. Lines: 31 It seems to me this is weird. Have I misunderstood something? 112> cat x.c #include void defmach(lo) int lo; { printf(" %08x\n",lo); } main() { printf("sizeof(int) = %d\n",sizeof(int)); printf("sizeof(long) = %d\n",sizeof(long)); defmach(65535); exit(0); } 113> cc x.c 114> a.out sizeof(int) = 4 sizeof(long) = 4 0000ffff 115> lint x.c x.c: defmach, arg. 1 used inconsistently x.c(6) :: x.c(13) -- Gerald A. Edgar TS1871@OHSTVMA.bitnet Department of Mathematics gae@osupyr.UUCP The Ohio State University ...{akgua,gatech,ihnp4,ulysses}!cbosgd!osupyr!gae Columbus, OH 43210 70715,1324 CompuServe