From: Vincenzo Frascino <[email protected]> The use of ptrdiff_t can trigger a warning.
Replace it with intptr_t that does not require provenance since being an integer is always valid. Signed-off-by: Vincenzo Frascino <[email protected]> Reviewed-by: Steve Capper <[email protected]> Signed-off-by: Steve Capper <[email protected]> --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ash.c b/shell/ash.c index ef4a47afe..c48e878e1 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -4739,7 +4739,7 @@ static struct job * growjobtab(void) { size_t len; - ptrdiff_t offset; + intptr_t offset; struct job *jp, *jq; len = njobs * sizeof(*jp); -- 2.35.1 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
