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

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status



On 04/22/2016 08:45 AM, Jakub Wilk wrote:

 memset(&maxInt, 0xff, sizeof(maxInt));

"maxInt = -1" is would be a more obvious way to write it, IMHO.

Both pale in comparison to UINT32_MAX, also found in <stdint.h>.


Reply to: