64 bit coding
dsf at gblx.net
Wed Apr 25 00:37:12 UTC 2001
Hot Diggety! Alex Kiernan was rumored to have written:
> Russ Allbery <rra at stanford.edu> writes:
> > > "conffile.c", line 60.19: 1506-743 (I) 64-bit portability: possible change of
> > > result through conversion of int type into long type.
> > > "conffile.c", line 60.26: 1506-742 (I) 64-bit portability: possible loss of
> > > digits through conversion of long type into int type.
> > I can't read this error message; it seems to be complaining about:
> > fgets(t, F->sbuf - strlen (F->buf), F->f);
> > but I don't know what it thinks is wrong with that.
> >From linting it on Solaris, I've two guesses - it wants sbuf to be a
> size_t, or its bitching that the resultant second argument passed is
> an int, whereas the difference is (likely) an unsigned long.
Sounds like the latter case as being the more likely one.
More information about the inn-workers