aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io/FileOutputStream.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-24 20:38:29 +0100
committerMax Kellermann <max@duempel.org>2015-03-24 22:03:17 +0100
commit7f3518333d514421c706c4b5916a117eb914342e (patch)
tree1f703630f297ae9d0f9669fe2e3ae96c828d3a50 /src/fs/io/FileOutputStream.hxx
parentf1f871f103c4ece84ff8d7de3d6d4f4b32bd5177 (diff)
downloadmpd-7f3518333d514421c706c4b5916a117eb914342e.tar.gz
mpd-7f3518333d514421c706c4b5916a117eb914342e.tar.xz
mpd-7f3518333d514421c706c4b5916a117eb914342e.zip
Mapper: don't use C-style prototypes
Diffstat (limited to 'src/fs/io/FileOutputStream.hxx')
-rw-r--r--src/fs/io/FileOutputStream.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/io/FileOutputStream.hxx b/src/fs/io/FileOutputStream.hxx
index 851d67a6d..b182fd03f 100644
--- a/src/fs/io/FileOutputStream.hxx
+++ b/src/fs/io/FileOutputStream.hxx
@@ -97,7 +97,8 @@ protected:
#ifdef WIN32
bool SeekEOF() {
- return SetFilePointer(handle, 0, nullptr, FILE_END);
+ return SetFilePointer(handle, 0, nullptr,
+ FILE_END) != 0xffffffff;
}
#endif