Re: problems compiling vanessa_adt-0.0.9 in 64 bits
Simon Horman <[email protected]> Fri, 25 Jan 2013 16:31:38 +0900
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 23, 2013 at 09:00:58PM -0800, David Severance wrote: > > On 1/23/2013 8:18 PM, David Severance wrote: > > It would appear this compiles cleanly on RHEL5.9 x86_64. However as I > > have now been able to move on to compiling perdition itself this > > warning appears: > >> perdition.c: In function ‘write_pid_file’: > >> perdition.c:1370: warning: comparison is always false due to limited > >> range of data type > > My eyebrows went up as I doubt this is intended, pls advise. > > > > thanks, > > David > > > I think an unsigned comparison, changing LONG_MAX to ULONG_MAX, solves > the problem. Let me know. Yes, I think that should be correct. But I also think that strtol on the previous line should be changed to strtoul. ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users