diff options
author | Lectem <lectem@gmail.com> | 2016-11-13 02:33:01 +0100 |
---|---|---|
committer | Lectem <lectem@gmail.com> | 2016-11-13 02:35:46 +0100 |
commit | 5e668b69a4081d19647b6f53b855c02fbcf86860 (patch) | |
tree | dca427ff130eb0d6ddcc5f0d30895ca0c70b8923 /src/FileStream.cpp | |
parent | 64e610177730715c2b45c12186767316e40cc6c5 (diff) |
use DWORD for get/setlasterror
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;
}
|