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]
Warning: long and int are literally identical in this context, and in the context where they're not long is correct. Did we ever figure out what the standards committee was smoking? Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net