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

From: Jan Kara
Date: Tue Dec 15 2009 - 16:28:18 EST


On Tue 15-12-09 21:27:50, Jerry Leo wrote:
> Hi, Jan Kara,
>
> the Patch is for this:
>
> CC fs/quota/quota_v2.o
> fs/quota/quota_v2.c: In function âv2_read_file_infoâ:
> fs/quota/quota_v2.c:123: warning: integer constant is too large for âlongâ type
> fs/quota/quota_v2.c:124: warning: integer constant is too large for âlongâ type
>
>
> Can this patch be fixed?
Ops, yes. I didn't see these warnings because I'm using 64-bit
machines... Thanks for the fix. You actually have to use ULL as Joe pointed
out. So I've merged the patch below: