mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Use c-style cast as in original
static_cast does not work
This commit is contained in:
parent
127e5b1955
commit
637fbb7ac9
@ -1065,7 +1065,7 @@ cmd_ret const runCommand(string const & cmd)
|
||||
0, 0, &startup, &process)) {
|
||||
|
||||
CloseHandle(process.hThread);
|
||||
int fno = _open_osfhandle(static_cast<intptr_t>(in), _O_RDONLY);
|
||||
int fno = _open_osfhandle((intptr_t)in, _O_RDONLY);
|
||||
CloseHandle(out);
|
||||
inf = _fdopen(fno, "r");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user