diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-25 23:19:18 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-25 23:19:18 +0000 |
commit | dd8f48188875f1fb1984b3860e80a9093ac4cab2 (patch) | |
tree | 485fc77487d40483a85f77b82c8504bee2b34a1b /win32 | |
parent | 9e5f57defb0d4fe4a23e6e24c3d57478465aea87 (diff) | |
download | perl-dd8f48188875f1fb1984b3860e80a9093ac4cab2.tar.gz |
typo in change#4892
p4raw-link: @4892 on //depot/perl: 9e5f57defb0d4fe4a23e6e24c3d57478465aea87
p4raw-id: //depot/perl@4893
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 49a8deee52..c7621157cf 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1840,7 +1840,7 @@ EXTERN_C _CRTIMP ioinfo* __pioinfo[]; static int _alloc_osfhnd() { HANDLE hF = CreateFile("NUL", 0, 0, NULL, OPEN_ALWAYS, 0, NULL); - int fh = _open_osfhandle(hF, 0); + int fh = _open_osfhandle((long)hF, 0); CloseHandle(hF); if (fh == -1) return fh; @@ -1876,7 +1876,7 @@ my_open_osfhandle(long osfhandle, int flags) fileflags |= FOPEN; /* mark as open */ _osfile(fh) = fileflags; /* set osfile entry */ - LeaveCritiicalSection(&_pioinfo(fh)->lock); + LeaveCriticalSection(&_pioinfo(fh)->lock); return fh; /* return handle */ } |