1
0
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:
Chris Lattner 2004-06-04 20:21:53 +00:00
parent 4bd463c15e
commit 73c62c067f

View File

@ -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