Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: A lint question Summary: signed vs unsigned Message-ID: <4881@bsu-cs.UUCP> Date: 29 Nov 88 03:55:58 GMT References: <1256@vsedev.VSE.COM> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 13 In article <1256@vsedev.VSE.COM> logan@vsedev.VSE.COM (James Logan III) writes: >function argument ( number ) used inconsistently > malloc( arg 1 ) llib-lc(338) :: findlinks.c(114) > read( arg 3 ) llib-lc(104) :: findlinks.c(127) Perhaps your lint library declares the argument to malloc, and the third argument to read, as unsigned, while you declare them as int. (Sigh.) You can't always make the same code lint properly under both SVR2 and 4.3BSD because of this. Damned if I do, unsigned if I don't. -- Rahul Dhesi UUCP:!{iuvax,pur-ee}!bsu-cs!dhesi