Re: [Toybox] [PATCH] fix compiler error

2023-08-24 Thread enh via Toybox
On Thu, Aug 24, 2023 at 2:08 AM Rob Landley wrote: > > On 8/23/23 11:35, enh via Toybox wrote: > > %t is the appropriate choice for pointer differences on both ILP32 and > > LP64, and shorter than casting to long: > > ``` > > external/toybox/toys/pending/expr.c:209:45: error: format specifies > >

Re: [Toybox] [PATCH] fix compiler error

2023-08-24 Thread Rob Landley
On 8/23/23 11:35, enh via Toybox wrote: > %t is the appropriate choice for pointer differences on both ILP32 and > LP64, and shorter than casting to long: > ``` > external/toybox/toys/pending/expr.c:209:45: error: format specifies > type 'long' but the argument has type 'int' [-Werror,-Wformat]