Re: Patch to fix the DATA bug



On  7 Apr, Anthony DeRobertis wrote:
> Curious: Why did my:
> 
> 	message[left] = 0;
> get into CVS as
> 	message[left] = '\0';

IMO, the original expression includes a implicit data conversion from
int to char. I guess it doesn't matter in general which way you write
it, it just helps you to remember that message isn't an array of
integers.

/Pawel




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