mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 851439 - The paramter of _open_osfhandle() is intptr_t instead of long. r=jimm
This commit is contained in:
parent
3f1a26a1de
commit
4c602a322b
@ -50,7 +50,7 @@ SetupConsole()
|
||||
FILE *fp;
|
||||
AllocConsole();
|
||||
sCon = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
int fd = _open_osfhandle(reinterpret_cast<long>(sCon), 0);
|
||||
int fd = _open_osfhandle(reinterpret_cast<intptr_t>(sCon), 0);
|
||||
fp = _fdopen(fd, "w");
|
||||
*stdout = *fp;
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user