Current-Users archive

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

Re: Buglet in vi

On Fri, Jan 27, 2012 at 02:48:42PM +0000, Chavdar Ivanov wrote:
>  #include "../common/common.h"
> +#define ENTIRE_LINE     (size_t)-1

I worry about casts like that somedays.
Quite probably ~(size_t)0 is somewhat better.
And an extra set of parenthesis wouldn't go amiss.


David Laight:

Home | Main Index | Thread Index | Old Index