diff options
author | Ladislav Zezula <zezula@volny.cz> | 2016-11-13 09:51:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-13 09:51:18 +0100 |
commit | 6ce23ad12f435d6468916fc6101ce7101040e1aa (patch) | |
tree | dca427ff130eb0d6ddcc5f0d30895ca0c70b8923 /src/FileStream.cpp | |
parent | 64e610177730715c2b45c12186767316e40cc6c5 (diff) | |
parent | 5e668b69a4081d19647b6f53b855c02fbcf86860 (diff) |
Merge pull request #92 from Lectem/patch-1
Merged.
Diffstat (limited to 'src/FileStream.cpp')
-rw-r--r-- | src/FileStream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FileStream.cpp b/src/FileStream.cpp index 1e88b63..2aeada1 100644 --- a/src/FileStream.cpp +++ b/src/FileStream.cpp @@ -34,14 +34,14 @@ // Local functions - platform-specific functions
#ifndef PLATFORM_WINDOWS
-static int nLastError = ERROR_SUCCESS;
+static DWORD nLastError = ERROR_SUCCESS;
-int GetLastError()
+DWORD GetLastError()
{
return nLastError;
}
-void SetLastError(int nError)
+void SetLastError(DWORD nError)
{
nLastError = nError;
}
|