mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 11:25:27 +00:00
[libc][NFC] Fix warning in uint operator T
This code is creating a warning on Fuchsia, this patch should fix that warning. Reviewed By: mcgrathr Differential Revision: https://reviews.llvm.org/D157546
This commit is contained in:
parent
beae315238
commit
222d7cf17f
@ -116,7 +116,7 @@ template <size_t Bits, bool Signed> struct BigInt {
|
||||
return lo;
|
||||
}
|
||||
} else {
|
||||
return (static_cast<T>(val[1]) << 64) + lo;
|
||||
return static_cast<T>((static_cast<T>(val[1]) << 64) + lo);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user