Fix to have r3450 at least compile on linux 64 bits

This commit is contained in:
Xawotihs
2011-04-19 19:04:12 +00:00
parent 28b84a1305
commit 40958170fa
3 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ template <class T>
std::string ToHex(T* pointer)
{
std::ostringstream stream;
stream << hex << showbase << setfill('0') << setw(8) << (int) pointer;
stream << hex << showbase << setfill('0') << setw(8) << (uint64_t) pointer;
return stream.str();
}
@@ -29,7 +29,7 @@ std::string ToHex(T* pointer)
{ \
std::ostringstream stream; \
stream << inString << std::endl; \
OutputDebugString(stream.str().c_str()); \
OutputDebugString(stream.str().c_str()); \
}
#else
#define DebugTrace(inString) \