Signed-off-by: Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxxx> --- Hi Luc, Tonight my 32-bit build/test run on 32-bit Linux failed this test. The first version of this patch was a simple one-liner to add an '-m64' argument to the test-linearize 'check-command'. This seems to be the usual fix for this, but I thought I would try something different. ;-) If you prefer the one-liner, then go with that (I tested it on 32-bit Linux, but not on 64-bit Linux - I can't imagine that it would fail!). ATB, Ramsay Jones validation/linear/bug-assign-op0.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/validation/linear/bug-assign-op0.c b/validation/linear/bug-assign-op0.c index b351bb51..3a2bef3c 100644 --- a/validation/linear/bug-assign-op0.c +++ b/validation/linear/bug-assign-op0.c @@ -10,7 +10,7 @@ unsigned int lsr(unsigned int u) return u; } -int divr(int s, unsigned long u) +int divr(int s, unsigned long long u) { extern int use(int, unsigned); int t = s; @@ -19,25 +19,25 @@ int divr(int s, unsigned long u) return use(s, u); } -int sdivul(int s, unsigned long u) +int sdivul(int s, unsigned long long u) { s /= u; // divu return s; } -unsigned int udivsl(unsigned int u, long s) +unsigned int udivsl(unsigned int u, long long s) { u /= s; // divs return u; } -int uldivs(int s, unsigned long u) +int uldivs(int s, unsigned long long u) { u /= s; // divu return u; } -unsigned int sldivu(unsigned int u, long s) +unsigned int sldivu(unsigned int u, long long s) { s /= u; // divs return s; -- 2.28.0