Commit 8f3c4879 authored by Brad King's avatar Brad King 💬
Browse files

Status: Fix GetWindows return type

A Windows-native error is an unsigned integer.
parent 2fa93cfc
......@@ -70,7 +70,7 @@ public:
#ifdef _WIN32
/** If the kind is "Windows", returns the GetLastError()-style value.
Otherwise, returns 0. */
int GetWindows() const
unsigned int GetWindows() const
{
return this->Kind_ == Kind::Windows ? this->Windows_ : 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment