diff --git a/DDrawCompat/DDraw/Log.cpp b/DDrawCompat/DDraw/Log.cpp index 9608ea6..8e23667 100644 --- a/DDrawCompat/DDraw/Log.cpp +++ b/DDrawCompat/DDraw/Log.cpp @@ -134,5 +134,9 @@ std::ostream& operator<<(std::ostream& os, const GUID& guid) OLECHAR str[256] = {}; StringFromGUID2(guid, str, sizeof(str)); - return os << str; + for (auto p = str; *p != 0; ++p) + { + os << static_cast(*p); + } + return os; }