diff --git a/source/lib/file/common/trace.cpp b/source/lib/file/common/trace.cpp index 9d472a6004..0eded67c5c 100644 --- a/source/lib/file/common/trace.cpp +++ b/source/lib/file/common/trace.cpp @@ -81,7 +81,7 @@ TraceEntry::TraceEntry(const std::wstring& text) debug_assert(stream.get() == '\n'); debug_assert(stream.good()); - debug_assert((int)stream.get() == EOF); + debug_assert(stream.get() == WEOF); }