Re: [PATCH] quota: integer constant is too large for ‘long’ type in

Joe Perches
2009-12-15T15:24:17Z

On Tue, 2009-12-15 at 21:27 +0800, Jerry Leo wrote:
> - info->dqi_maxblimit = 0xffffffffffffffff; /* 2^64-1 */
> - info->dqi_maxilimit = 0xffffffffffffffff;
> + info->dqi_maxblimit = 0xFFFFFFFFFFFFFFFFLL; /* 2^64-1 */
> + info->dqi_maxilimit = 0xFFFFFFFFFFFFFFFFLL;

ULLONG_MAX?