pointer truncation fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4097 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
27f184f2bf
commit
55cdd067c0
|
@ -858,10 +858,8 @@ psf_set_stdio (SF_PRIVATE *psf, int mode)
|
|||
/* USE_WINDOWS_API */ void
|
||||
psf_set_file (SF_PRIVATE *psf, int fd)
|
||||
{ HANDLE handle ;
|
||||
long osfhandle ;
|
||||
|
||||
osfhandle = _get_osfhandle (fd) ;
|
||||
handle = (HANDLE) osfhandle ;
|
||||
handle = (HANDLE) _get_osfhandle (fd) ;
|
||||
|
||||
psf->hfile = handle ;
|
||||
} /* psf_set_file */
|
||||
|
|
Loading…
Reference in New Issue