diff --git a/src/io/sys.cpp b/src/io/sys.cpp
index f25575c9c236728197dab6f011a74740a43fb588..34160b64801f2c195a98515f47d7e92415d3d2ed 100644 (file)
--- a/src/io/sys.cpp
+++ b/src/io/sys.cpp
GetCurrentProcess (), &filehandle,
0, FALSE, DUPLICATE_SAME_ACCESS);
close (fd);
- return _open_osfhandle ((LONG_PTR) filehandle, mode | _O_NOINHERIT);
+ return _open_osfhandle(reinterpret_cast<LONG_PTR>(filehandle), mode | _O_NOINHERIT);
}
-
/* The helper process writes a status report back to us, through a
* pipe, consisting of two ints.
*/