mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
GCC doesn't like prefix form of cast with two identifiers I guess.
llvm-svn: 14021
This commit is contained in:
parent
4bd463c15e
commit
73c62c067f
@ -28,7 +28,7 @@ static inline std::string utohexstr(uint64_t X) {
|
||||
if (X == 0) *--BufPtr = '0'; // Handle special case...
|
||||
|
||||
while (X) {
|
||||
unsigned char Mod = unsigned char(X) & 15;
|
||||
unsigned char Mod = (unsigned char)X & 15;
|
||||
if (Mod < 10)
|
||||
*--BufPtr = '0' + Mod;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user