Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] c++ compile prolem



On Thu, 2003-02-27 at 22:38, Melvin Sneed wrote:

> 
> >      if((caddr_t)(-1) == mapaddr)
> 
> Try changing this line to:
> 
> if ( ((int) mapaddr) == -1 )


Follow up my self 'cuz I'm full of beer ....:-)
Changing it to:

if((caddr_t)(-1) == (caddr_t) mapaddr)

may be cleaner. Visually at any rate.

Dave




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links