aboutsummaryrefslogtreecommitdiff
path: root/src/FileStream.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2016-11-13 09:51:18 +0100
committerGitHub <noreply@github.com>2016-11-13 09:51:18 +0100
commit6ce23ad12f435d6468916fc6101ce7101040e1aa (patch)
treedca427ff130eb0d6ddcc5f0d30895ca0c70b8923 /src/FileStream.cpp
parent64e610177730715c2b45c12186767316e40cc6c5 (diff)
parent5e668b69a4081d19647b6f53b855c02fbcf86860 (diff)
Merge pull request #92 from Lectem/patch-1
Merged.
Diffstat (limited to 'src/FileStream.cpp')
-rw-r--r--src/FileStream.cpp6
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;
}