0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Replace hardcoded 0 by equivalent O_RDONLY

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24830 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-10-21 13:45:04 +00:00
parent bcc10e0961
commit 0f50b44313

View File

@ -3560,7 +3560,7 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
if (strstr(cs1, "WINNOV.bmp"))
{
int r;
r=open("/dev/null", 0);
r=open("/dev/null", O_RDONLY);
return r;
}