bug-hurd
[Top][All Lists]
Advanced

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

Re: vm_size_t is unsigned, so libps should use unsigned ints.


From: James Morrison
Subject: Re: vm_size_t is unsigned, so libps should use unsigned ints.
Date: Sat, 1 Jun 2002 10:28:56 -0700 (PDT)

--- Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> wrote:
> On Thu, May 30, 2002 at 08:22:12PM -0700, James Morrison wrote:
> >  Nothing else used ps_emit_nice_int.
> 
> Oh, right, I was confused.
> 
> >   I don't like this.  After looking at both sprint_frac_value and 
> > ps_emit_nice_int I think they should both use size_t's.
> 
> Yeah, seems so.  I will look again at it tomorrow.
> 
> Thanks,
> Marcus
> 

 I think there needs to be a new function ps_cmp_size_t.  But it would look
exactly like ps_cmp_float and ps_cmp_int.  The easiest way I can see to do
this is a macro

#define COMPARE (type) ps_cmp_type ...

 Will this work?


=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone referring to this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]