From 54bf8c05566a34f4d578ed6d33d6262dc924a703 Mon Sep 17 00:00:00 2001 From: grischka Date: Wed, 14 Nov 2007 17:34:30 +0000 Subject: Import some changesets from Rob Landley's fork (part 1) --- libtcc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc1.c') diff --git a/libtcc1.c b/libtcc1.c index a06016e..747cb12 100644 --- a/libtcc1.c +++ b/libtcc1.c @@ -466,7 +466,7 @@ long long __shldi3(long long a, int b) u.s.high = (unsigned)u.s.low << (b - 32); u.s.low = 0; } else if (b != 0) { - u.s.high = ((unsigned)u.s.high << b) | (u.s.low >> (32 - b)); + u.s.high = ((unsigned)u.s.high << b) | ((unsigned)u.s.low >> (32 - b)); u.s.low = (unsigned)u.s.low << b; } return u.ll; -- cgit v1.3.1