From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10e254,80a0636872aad0af X-Google-Attributes: gid10e254,public X-Google-Thread: fee84,80a0636872aad0af X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-07-21 15:01:36 PST Xref: gmd.de comp.unix.osf.osf1:662 news.software.nntp:3163 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!olivea!strobe!jerry From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) Newsgroups: comp.unix.osf.osf1,news.software.nntp Subject: Re: INN on OSF Date: 21 Jul 1993 21:57:42 GMT Organization: Olivetti ATC; Cupertino, CA; USA Distribution: inet Message-ID: <22ke4m$h2l@olivea.ATC.Olivetti.Com> References: <22iho9$dso@pirates.cs.swt.edu> <22jfme$f7p@paperboy.osf.org> NNTP-Posting-Host: strobe.atc.olivetti.com In article <22jfme$f7p@paperboy.osf.org> rsalz@osf.org (Rich Salz) writes: >Look for all "unsigned long" casts related to IP addresses, e.g., where >inet_addr is called. Change them to "unsigned int". innd/rc.c, >backends/rcompress.c include/clibrary.h, lib/remopen.c. This portability issue came up way back when most systems went from 16 bit ints to 32 bit. Now it is starting to come up again as we start to migrate from 32 to 64. You would think that people would learn. Actually I consider it one of the big weaknesses of C. If every system had a or such that defined "int16", "int32" and such it would be easier to write more portable code.