mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
src/file_io.c : Use intptr_t instead of long for return value of _get_osfhandle.
This commit is contained in:
parent
8ed24c2c70
commit
548daca9b7
@ -1,3 +1,8 @@
|
||||
2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/file_io.c
|
||||
Use intptr_t instead of long for return value of _get_osfhandle.
|
||||
|
||||
2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* examples/*
|
||||
|
@ -862,7 +862,7 @@ psf_set_stdio (SF_PRIVATE *psf, int mode)
|
||||
/* USE_WINDOWS_API */ void
|
||||
psf_set_file (SF_PRIVATE *psf, int fd)
|
||||
{ HANDLE handle ;
|
||||
long osfhandle ;
|
||||
intptr_t osfhandle ;
|
||||
|
||||
osfhandle = _get_osfhandle (fd) ;
|
||||
handle = (HANDLE) osfhandle ;
|
||||
|
Loading…
Reference in New Issue
Block a user